From: Francis Hwang Date: 2005-10-22T03:22:00+09:00 Subject: Re: Removing a class for good from ObjectSpace Instead of: > > Object.class_eval do > > remove_const :Foo > > const_set :Foo, Class.new > > end You can also write: Object.send :remove_const, :Foo Object.send :const_set, :Foo, Class.new That's what I did in my MockFS override.rb hack. In Ruby, "private" just means "inconvenient". f.