From: Paul Brannan Date: 2005-10-22T03:37:18+09:00 Subject: Re: Removing a class for good from ObjectSpace On Sat, Oct 22, 2005 at 03:22:00AM +0900, Francis Hwang wrote: > You can also write: > > Object.send :remove_const, :Foo > Object.send :const_set, :Foo, Class.new Not in 1.9: $ irb-1.9 irb(main):001:0> class Foo; end => nil irb(main):002:0> Object.send :remove_const, :Foo NoMethodError: private method `remove_const' called for Object:Class from (irb):2:in `send' from (irb):2 Paul