> MyClass.new.foo # I want a no method exception here
You can remove methods (there is a private method Class#remove_method)
or remove the constant MyClass[1] and then define it anew. What would
be a sensible use case for this?
Thomas.
[1] Example: http://groups.google.com/group/ruby-talk-google/msg/0fc850e23243d830