From: Ilias Lazaridis Date: 2005-04-20T20:14:34+09:00 Subject: Re: [EVALUATION] - E03d - The Ruby Object Model (End Game) Pit Capitain wrote: > Ilias Lazaridis schrieb: > >> >> [please without essay's] > > Try to carefully read and understand the answers others have already > given to your previous questions. Subjecting the old thread, I'm currently on inhibition, due to large amounts of overinformation. > Then you should be able to come up > with the following code by yourself. > >> the above diagramm shows a "(Class)", which is documented as a >> "metaclass". >> >> How do I access this class? > > p( class << Class; self; end ) # => # ok. >> the above diagramm shows a "(Object)", which inherits from "Class". >> >> how do I call "(Object).superclass"? > > p( class << Object; self; end.superclass ) # => Class ok > Regards, > Pit thank you for the compact and concise answer. .. -- http://lazaridis.com