From: "David A. Black" Date: 2009-11-17T23:45:47+09:00 Subject: Re: Any official name for Ruby's class which makes "class me --1926193751-346739683-1258469135=:18008 Content-Type: MULTIPART/MIXED; BOUNDARY="1926193751-346739683-1258469135=:18008" This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --1926193751-346739683-1258469135=:18008 Content-Type: TEXT/PLAIN; charset=utf-8; format=flowed Content-Transfer-Encoding: 8BIT On Tue, 17 Nov 2009, Marnen Laibow-Koser wrote: > 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 It says: All metaclasses are instances of the class `Class'. but it does not say that all instances of Class are metaclasses :-) That would make "metaclass" a synonym for "class", which wouldn't make sense. David -- THE COMPLEAT RUBYIST, Ruby training with Black/Brown/McAnally! January 22-23, Tampa, Florida Info and registration at http://www.thecompleatrubyist.com -------------------------------------- My new job: http://tinyurl.com/yfpn9hz --1926193751-346739683-1258469135=:18008-- --1926193751-346739683-1258469135=:18008--