From: Ilias Lazaridis Date: 2005-05-07T02:39:33+09:00 Subject: Re: [RCR] Object#inside_metaclass? Austin Ziegler wrote: > On 5/4/05, Ilias Lazaridis wrote: >>Ara.T.Howard wrote: >> >>>this is very useful for meta-programming: >>> >>> jib:~/eg/ruby > cat a.rb >>> class Object >>> def inside_metaclass? >>[...] >> >>>i believe the implementaion is correct iff the following statement is true: >>> >>> all meta-classes descend from the meta-class of Object. >> >>the statement is[...] > > ..true. > > Please stop posting your incorrect statements, Ilias. Just because you > don't understand it doesn't mean that something is false A "class" is instantiated to 0..n objects. A "singleton class" is instantiated to 0..1 object A "metaclass" is instantiated to 0..n Class Objects Ruby has no metaclasses. No one can insist on this. If it's Mr. Austin Ziegler of Mr. Y. Matsumoto. - The correct term would be "exclusive object" (or something similar, but _not_ metaclass, which has a specific meaning): The diagramm (V1.3) demonstrates this. http://lazaridis.com/case/lang/ruby - So, readers can now decide who's right and who's false. .. -- http://lazaridis.com