From: Marnen Laibow-Koser Date: 2009-11-17T22:15:33+09:00 Subject: Re: Any official name for Ruby's class which makes "class me David A. Black wrote: > Hi -- > > On Mon, 16 Nov 2009, Marnen Laibow-Koser wrote: > >> Hunt Jon wrote: >>> We all know Ruby really doesn't have class methods. >>> >>> But how do you call such classes that have "class methods"? >>> I hear Japanese say 特異 class, but is there any English word for that? >> >> You mean instances of class Class? The official docs call them >> metaclasses. > > I don't think that's right. String and Array and > > class MyClass > > and Class.new are all instances of Class, but they're not metaclasses. I thought it was strange too, but take a look: http://www.ruby-doc.org/core-1.8.7/classes/Class.html > > Actually, I think it was Jim Weirich who pointed out that, given the > usual sense of the term "metaclass" as a class which produces other > classes, Class itself is the only metaclass in Ruby. I think he's right, but that's not the sense in which the official docs use the term. [...] > > David Best, -- Marnen Laibow-Koser http://www.marnen.org marnen@marnen.org -- Posted via http://www.ruby-forum.com/.