From: Mat Brown Date: 2010-02-13T07:04:16+09:00 Subject: Re: Is there a way to get a method to always run at the end of any descendent's initialize method? There's no simple way to do this. One possibility is to create a separate class method that is responsible for building the object, and then making the :new method private: class MyClass class < wrote: > I have an initialize method I want to run at the end of any daughter or > granddaughter 'initialize' to make sure the state has been created properly, > and I would rather specify the execution from the base class itself than > count on those descendents to do it. > > xc > > -- > "It's the preponderance, stupid!" - Professor Stephen Schneider, IPCC member > >