From: Stefano Crocco Date: 2008-01-10T23:11:11+09:00 Subject: Re: how to remove a method from an object ? Alle giovedě 10 gennaio 2008, Robert Dober ha scritto: > Does it? I cannot reproduce that behavior: > > class << Class::new { >   def a; 42 end > } >   remove_method :a > end > > singleton.rb:7:in `remove_method': method `a' not defined in Class > (NameError) from singleton.rb:7 You're right, it doesn't work. I didn't look close enough at the output. Stefano