From: Andrea Dallera Date: 2010-03-15T23:13:16+09:00 Subject: Overriding new? Hi everybody, given the following situation: class Parent def initialize print "magic\n" end end class Child < Parent def initialize print "more magic\n" end end child = Child.new is there a way in which i can get "magic" and "more magic" as the output, without having to add super to the child class's constructor? I was thinking about overriding the class method "new" but i really didn't get anything to work up to now. Any suggestions? Thanks in advance! -- Andrea Dallera http://github.com/bolthar/freightrain http://usingimho.wordpress.com