From: Joel VanderWerf Date: 2001-05-21T03:10:05+09:00 Subject: [ruby-talk:15433] Re: how to remove method from singleton class Yukihiro Matsumoto wrote: ... > |How can I remove a method from a singleton class? > > class < 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