From: Sam Sungshik Kong Date: 2004-06-22T14:08:13+09:00 Subject: Re: A question about Class and Object With your help, my brain starts building up concepts...:) Thank you. For those who have same problems as mine, read the following link. http://rubyforge.org/docman/view.php/251/96/ChrisPine_UROM.ppt It's great. kong "Mehr, Assaph (Assaph)" wrote in message news:338366A6D2E2CA4C9DAEAE652E12A1DE166E16@au3010avexu1.global.avaya.com... > > Object.class is Class. > > Object is type of Class. > > > I'm still confused with class and object and metaclass... > > Try to think about it this way: > Object is a concept ("a thing") > Class is a concept ("a representation in ruby of realworld concepts") > > In ruby, we use objects (things) of kind 'Class' to represent the > concepts. Thus the thingy 'Object' is of kind 'Class' and is used to > represent the concept of object. The thingy 'Class' is again of type > 'Class' and is used to represent the ruby concept of a "concept that > represents the concept of 'concept'" (This makes it a meta-concept). > > Thus in Ruby "Object" and "Class" are concept thingies, represented as > objects (thingies) of kind "Class". As for the number of methods, the > class-concept is a bit more specific than the generic "thingy" concept, > and therefore has an extra method. > > I have probably confused you more. See the 'ruby object model" > presentation on "WhyRuby.rubyforge.org". > > HTH, > Assaph > > > > >