From: Austin Ziegler Date: 2005-04-06T02:18:35+09:00 Subject: Re: [EVALUATION] - E03b - The Ruby Object Model On Apr 5, 2005 1:08 PM, ts wrote: > >>>>> "A" == Austin Ziegler writes: > A> I've modified your diagram; ocObject* is an instance of otherClass, > A> and the (ocObject)* metaclass is the metaclass for this instance, > A> and it is a different metaclass than any other instance of > A> otherClass. > > A> ocObject*---->(ocObject)* > A> | | > A> | | > A> v v > A> otherClass---> (OtherClass) > A> | | > Well, if ocObject is an instance of otherClass then you have a small > problem You're right. I just copied a part of the diagram without thinking. ocInstance---->(ocInstance) | | v otherClass---->(OtherClass) | | | | v v Object---->(Object)--+ ^ ^ | | | | | | | | | | | | | | | | Module---->(Module) | ^ ^ | | | | | | | Class---->(Class) | ^ | | | +-----------------+ I think that captures the instance case a bit better. -austin -- Austin Ziegler * halostatue@gmail.com * Alternate: austin@halostatue.ca