From: gminick Date: 2003-01-10T04:16:58+09:00 Subject: Re: accessing a function without initalization On Fri, Jan 10, 2003 at 03:55:32AM +0900, Daniel Bretoi wrote: > class Test > def hello > puts "hello" > end > end > > Test.hello > > How would I get this to work? I get undefined method 'hello' for > Test:Class What about a = Test.new() a.hello ? -- [ ] gminick (at) underground.org.pl http://gminick.linuxsecurity.pl/ [ ] [ "Po prostu lubie poranna samotnosc, bo wtedy kawa smakuje najlepiej." ]