From: Ilias Lazaridis Date: 2005-04-21T21:39:32+09:00 Subject: [EVALUATION] - E03e - The Ruby Object Model (Summary) [EVALUATION] - E03d - The Ruby Object Model (End Game) http://groups-beta.google.com/group/comp.lang.ruby/msg/ea9da543dc256b42 - The above thread has led to this code: class Class def Meta() @Meta ||= (class< ri Class "Classes, modules, and objects are interrelated. In the diagram that follows, the arrows represent inheritance, and the parentheses meta-classes. All metaclasses are instances of the class `Class'." +------------------+ | | Object---->(Object) | ^ ^ ^ ^ | | | | | | | | +-----+ +---------+ | | | | | | | +-----------+ | | | | | | | +------+ | Module--->(Module) | | | ^ ^ | OtherClass-->(OtherClass) | | | | | | Class---->(Class) | ^ | | | +----------------+ - a) The term "meta-classes" is false. Correction: "specializing-singleton-objects" b) vertical arrows do not represent inheritance e.g.: Object---->(Object) Correction: Object-----(Object) c) the classes in "()" do not belong to the object model Correction: remove (showcase sso in seperate topic) - - - My final questions are basicly: * Ruby is OO. Why is the sso not directly accessible? * Who has written the "ri Class" documentation? * Can I expect an apology for this false documentation? - - - http://lazaridis.com/case/lang/ruby .. -- http://lazaridis.com