From: Jim Weirich Date: 2005-04-06T01:48:29+09:00 Subject: Re: [EVALUATION] - E03b - The Ruby Object Model On Tuesday 05 April 2005 10:05 am, Austin Ziegler wrote: > I've modified your diagram; ocObject* is an instance of otherClass, > and the (ocObject)* metaclass is the metaclass for this instance, > and it is a different metaclass than any other instance of > otherClass. Do all instances have their own metaclass? I thought metaclasses (singleton classes) sprang into existence only when needed to have a place to put singleton methods. -- -- Jim Weirich jim@weirichhouse.org http://onestepback.org ----------------------------------------------------------------- "Beware of bugs in the above code; I have only proved it correct, not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)