|
|||||
|
|
#1 |
|
|
> Object is type of Cl***. > I'm still confused with cl*** and object and metacl***... Try to think about it this way: Object is a concept ("a thing") Cl*** is a concept ("a representation in ruby of realworld concepts") In ruby, we use objects (things) of kind 'Cl***' to represent the concepts. Thus the thingy 'Object' is of kind 'Cl***' and is used to represent the concept of object. The thingy 'Cl***' is again of type 'Cl***' 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 "Cl***" are concept thingies, represented as objects (thingies) of kind "Cl***". As for the number of methods, the cl***-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, ***aph |
|
|
#2 |
|
|
![]() Thank you. For those who have same problems as mine, read the following link. http://rubyforge.org/docman/view.php...sPine_UROM.ppt It's great. kong "Mehr, ***aph (***aph)" <***aph@avaya.com> wrote in message news:338366A6D2E2CA4C9DAEAE652E12A1DE166E16@au3010 avexu1.global.avaya.com... > > Object.cl*** is Cl***. > > Object is type of Cl***. > > > I'm still confused with cl*** and object and metacl***... > > Try to think about it this way: > Object is a concept ("a thing") > Cl*** is a concept ("a representation in ruby of realworld concepts") > > In ruby, we use objects (things) of kind 'Cl***' to represent the > concepts. Thus the thingy 'Object' is of kind 'Cl***' and is used to > represent the concept of object. The thingy 'Cl***' is again of type > 'Cl***' 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 "Cl***" are concept thingies, represented as > objects (thingies) of kind "Cl***". As for the number of methods, the > cl***-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, > ***aph > > > > > |
|
|
#3 |
|
|
> 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...sPine_UROM.ppt It's > great. Well, thanks! ![]() Chris |