From: Brian Candler Date: 2010-08-26T23:54:56+09:00 Subject: Re: Initialise class Object alias :old_initialize :initialize def initialize(*args,&blk) if respond_to? :initialise initialise(*args,&blk) else old_initialize(*args,&blk) end end end class Foo def initialize(n) @n = n end end class Bar def initialise(m) @m = m end end p Foo.new(123) p Bar.new(456) You get a warning about redefining initialize, but it seems to work. > I suppose my only recourse now is to start > hacking on the Ruby source and get my patch submitted in time for Ruby > 2.0 :) That will be released some time between perl 6 and hell freezing over :-) -- Posted via http://www.ruby-forum.com/.