Hi --

On Tue, 14 Mar 2006, Trans wrote:

>> Or singleton_class, which is what it's called :-)
>
> Really?
>
>   x = "A"
>  => "A"
>  irb(main):002:0> x.singleton_class
>  NoMethodError: undefined method `singleton_class' for "A":String
>          from (irb):2

I didn't mean there was such a method (though I hope there will be,
as per RCR 231).


David

-- 
David A. Black (dblack / wobblini.net)
Ruby Power and Light, LLC (http://www.rubypowerandlight.com)

"Ruby for Rails" chapters now available
from Manning Early Access Program! http://www.manning.com/books/black