From: Andrew Johnson Date: 2007-04-06T01:06:18+09:00 Subject: Re: Redefining initialize while staying -w clean Daniel Berger wrote: > > That doesn't appear to work. Do you have a code snippet where it does > work? Perhaps I've missed something. Perhaps I've misunderstood your case -- the following runs -w clean on Ruby 1.8.6 $ cat init.rb class String alias :old_init :initialize def initialize() end end $ ruby -w init.rb $ andrew -- Posted via http://www.ruby-forum.com/.