> and every subclass defines a +new+ method just like that. The thing is:
not if it's been redefined by the child class, I don't think.
> Does rb_obj_call_init calls the superclass' new method?
> Is this The Right Way(tm) to define/initialise classes and subclasses?
I think so. Try it out and see if it works :)
=r [maybe asking core might be helpful, too, though...maybe not].
--
Posted via
http://www.ruby-forum.com/.