From: Sebastian Hungerecker Date: 2008-11-27T01:59:21+09:00 Subject: Re: Class setter Yossef Mendelssohn wrote: > On a similar note, though you "configure" the class method .new with > the instance method #initialize, you can't make .new return something > other than an instance of the class just by the return value of > #initialize. That's not really similar. The only connection between new and initialize is that new calls initialize. There is no rule that a method that calls another method should return the return value of that method (given that new calls two methods, that'd be impossible anyway). So new returning the newly created object even though it calls initialize is perfectly ordinary. The behaviour of setters, however, is a special case. -- NP: Sentenced - My Slowing Heart Jabber: sepp2k@jabber.org ICQ: 205544826