From: James Edward Gray II Date: 2007-04-06T00:40:26+09:00 Subject: Re: Redefining initialize while staying -w clean On Apr 5, 2007, at 10:35 AM, Daniel Berger wrote: > If I do "undef_method(:initialize)" and run with -w, I'll get: > > "warning: undefining `initialize' may cause serious problem". Does this work? remove_method(:initialize) if method_defined? :initialize James Edward Gray II