From: Jim Weirich Date: 2005-05-05T03:37:42+09:00 Subject: Re: [RCR] Object#inside_metaclass? Christoph said: > Jim Weirich schrieb: > >> >>(1) The statement "all singleton classes descend from the singleton class >>of Object" is false. >> >>(2) The statement "all metaclasses descend from the metaclass of Object" >>is true >> >> > Nope - the singleton class of Module is not a meta_class but it > descends from the > singleton class of Object. Module is a class (instances of Module are modules). The singleton class of module would be a metaclass[1] (a class of a class ... since Module is a class). -- -- 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) [1] or quasi-proto-faux-metaclass if you prefer.