From: "Hal E. Fulton" Date: 2002-08-16T01:53:23+09:00 Subject: Re: Thought question: Where does "new" come from? ----- Original Message ----- From: "Yukihiro Matsumoto" To: "ruby-talk ML" Sent: Thursday, August 15, 2002 2:23 AM Subject: Re: Thought question: Where does "new" come from? > |How would you explain where "new" comes from > |in a class? > > From the Class class. > > |This arose because I was trying to draw a picture > |of Ruby's entire object model. > > Did you check the chart in object.c? I very rarely look at the source. I was not aware of the diagram. Thank you. > And of course, all classes are instances of the Class too. Why does the diagram show these parenthesized names? I thought that Class was the only true metaclass in Ruby. Why then do we show things like (Class) and (Object) in the diagram? Thanks much, Hal