From: "Christopher J. Bottaro" Date: 2008-03-04T04:23:29+09:00 Subject: overwriting (for real) a class How can completely overwrite a class (not extend it)? For example. fileA.rb: class MyClass def foo end end fileB.rb (executed after fileA.rb): class MyClass def bar end end MyClass.new.foo # I want a no method exception here Thanks for the help.