From: Marnen Laibow-Koser Date: 2009-11-18T01:25:26+09:00 Subject: Re: Any official name for Ruby's class which makes "class me Rick Denatale wrote: > On Tue, Nov 17, 2009 at 10:12 AM, Marnen Laibow-Koser > wrote: >> >> But I think that is what is meant. �How else does the diagram on that >> page make sense? �Every class has an associated metaclass of the same >> name in that diagram. �What is that if not the Class object? >> >>> That would make "metaclass" a synonym for "class", which wouldn't make >>> sense. >> >> I think that "metaclass" is here a synonym for the Class object, as >> opposed to the class declaratio or anything else. > > Then how does the sentence before the sentence you originally quoted > make sense: > > In the diagram that follows, the vertical arrows represent > inheritance, and the parentheses meta-classes. All metaclasses are > instances of the class `Class�. > > There are lots of parenthesized 'metaclasses' and none ARE Class. I took the parenthesized items on the diagram to be the actual Class objects, while the nonparenthesized items were the classes that most programmers are more likely to interact with. It's strange, I know, but I really can't think of an interpretation that makes more sense. > > -- > Rick DeNatale > Best, -- Marnen Laibow-Koser http://www.marnen.org marnen@marnen.org -- Posted via http://www.ruby-forum.com/.