From: Sebastian Hungerecker Date: 2008-03-04T04:31:08+09:00 Subject: Re: overwriting (for real) a class Christopher J. Bottaro wrote: > How can completely overwrite a class (not extend it)? MyClass = nil class MyClass ... end Though you will get a warning for reassigning a constant. Or you could do: Object.send(:remove_const, :MyClass) class MyClass ... end HTH, Sebastian. -- Jabber: sepp2k@jabber.org ICQ: 205544826