From: Damphyr Date: 2005-09-29T18:58:02+09:00 Subject: Re: Class Methods and derivation Robert Klemme wrote: > Damphyr wrote: > >> Robert Klemme wrote: >> >>> Damphyr wrote: >>> snip >>>> Simple, when not very obvious. I guess I had to keep in mind >>>> that new is private and for private methods self. is implicit. >>> >>> >>> new is *not* private - initialize is. How else could you do >>> Foo.new? new is a method of the class intance and initialize is >>> an instance method. >> >> Forget even that I said it. It was too late after too many beers :) > don't drink and code The thing is, I woke up today and the first thing I thought was: "&�$&! that phrase about new is soooo wrong. What was I thinking?" So the moral of the story is: Don't drink and post. If you code then you can always run your (ever present) unit tests and catch it later (there's always a second chance). No way to avoid public humiliation if you post though :) V.- -- http://www.braveworld.net/riva ____________________________________________________________________ http://www.freemail.gr - ������ �������� ������������ ������������. http://www.freemail.gr - free email service for the Greek-speaking.