From: "Berger, Daniel" Date: 2003-01-10T04:24:10+09:00 Subject: Re: accessing a function without initalization > -----Original Message----- > From: gminick [mailto:gminick@underground.org.pl] > Sent: Thursday, January 09, 2003 12:22 PM > To: ruby-talk@ruby-lang.org > Subject: Re: accessing a function without initalization > > > On Fri, Jan 10, 2003 at 04:16:22AM +0900, Daniel Bretoi wrote: > > > def Test.hello was the answer for everyone else who might wonder. > > I've noticed that self.hello works just as well. Are there any > > disadvantages to this? > Smells like python, but it isn't a disadvantage (at least) for me ;> The advantage is that it won't matter if you ever change the classname. The main drawback is that it doesn't look as pretty. Regards, Dan