From: "Hal E. Fulton" Date: 2002-08-16T02:38:01+09:00 Subject: Re: Thought question: Where does "new" come from? ----- Original Message ----- From: "ts" To: "ruby-talk ML" Cc: Sent: Thursday, August 15, 2002 11:57 AM Subject: Re: Thought question: Where does "new" come from? > >>>>> "H" == Hal E Fulton writes: > > H> Why does the diagram show these parenthesized names? > H> I thought that Class was the only true metaclass in > H> Ruby. Why then do we show things like (Class) and > H> (Object) in the diagram? > > (Class) is the singleton class associated with Class > (Object) is the singleton class associated with Object Oh, yes, of course. Where the singleton information goes. I am still unclear why these are conceptually necessary. If I do a "def Object.foo" why does it have to go into (Object) as opposed to just Object? Hal