From: dblack@... Date: 2007-06-23T02:24:38+09:00 Subject: Re: Error in ancestor? Hi -- On Sat, 23 Jun 2007, Rick DeNatale wrote: > On 6/21/07, dblack@wobblini.net wrote: > >> As for singleton classes: I still strongly root for >> Kernel#singleton_class. > ... >> And it all falls into place except that you >> have to go through the class << self; self; end thing to get at the >> class, and that makes it feel like a second-class (ha ha) citizen. > > To me it feels like I'm hiding out in the High School boy's room with > a cigarette. It's interesting, though, that Matz's reason for not adding K#s_c is, I think, concern about the name of the singleton class (as opposed to wanting it to be obscure). Hopefully that will be clarified in 2.0. David -- * Books: RAILS ROUTING (new! http://www.awprofessional.com/title/0321509242) RUBY FOR RAILS (http://www.manning.com/black) * Ruby/Rails training & consulting: Ruby Power and Light, LLC (http://www.rubypal.com)