From: ts Date: 2008-03-09T21:29:45+09:00 Subject: Re: Redefine a class with same name >>>>> "M" == Martin Boese writes: M> Is there any way to to remove the definition of a class so I can reuse its M> name? Like below I'd like to reuse the name 'A' but since it's already M> defined with a different superclass I get a 'TypeError: superclass mismatch M> for class A'. Just remove the constant M> class A < X M> end Object.send(:remove_const, :A) M> class A < Y M> end Guy Decoux