Ilias Lazaridis wrote: [...] > If I am wrong, please show me how to access the metaclass: > > ClassMetaClass = Class.??? > > ClassMetaClass.<class operations / access> > > - > > please avoid usage of libraries, excessive code etc. We are talking > about an oject-model, which should simply... exist! > > so, which is the cleanes and simplest way to get access to the "metaclass"? class Class def Meta() @Meta ||= (class<<self;self;end) end end class Talker end puts "\n----- verifying validity of MetaClass Access ----------\n" p Talker.Meta.object_id p (class<<Talker;self;end).object_id p Class.Meta.object_id p (class<<Class;self;end).object_id p Module.Meta.object_id p (class<<Module;self;end).object_id p Object.Meta.object_id p (class<<Object;self;end).object_id p NilClass.Meta.object_id p (class<<NilClass;self;end).object_id puts "\n----- start playing with the MetaClasses ---------------\n" puts "\nSuperClasses:\n" p Object.Meta.superclass p Module.Meta.superclass p Class.Meta.superclass p Talker.Meta.superclass puts "\nClasses:\n" p Object.Meta.class p Module.Meta.class p Class.Meta.class p Talker.Meta.class > I like to remind you, that evaluators coming from C++, Smalltalk, Java > etc. are not intrested in the specialities of a language (especially if > they are not necessary). > > The developers and the community should be capable to use > standard-terminology to explain the ruby model. The last step would be, to verify the used terminology. "metaclass" and "singleton" seems to be used incorrect. [but at this point, I'm exhausted by the excessive off-topic's.] - see an compact document about terminology and delayed recognition: http://lazaridis.com/core/project/gnu_gpl.html > Otherwise: who should take you serious? .. -- http://lazaridis.com