Yukihiro Matsumoto wrote:
...
> |How can I remove a method from a singleton class?
> 
>   class <<obj
>      remove_method :foo
>   end

That's inconvenient, because instead of :foo there is a variable which
isn't in scope inside the class...end.

How can I get a reference to this anonymous singleton class, so that I
can call remove_method on it from a different scope?

-- 

Joel VanderWerf
jskeeler / pacbell.net