From: Pit Capitain Date: 2006-05-01T15:16:30+09:00 Subject: Re: Extending Methods Geoff Stanley schrieb: > (... code reassigning a constant ...) > > The only problem is those warnings. Is there a different way of > overwriting the Foo class with the FooPlugin class so that these > warnings are not produced? Geoff, just remove the constant before you overwrite it: Object.instance_eval { remove_const :Foo } Regards, Pit