From: Lyle Johnson Date: 2003-01-12T05:43:32+09:00 Subject: Re: accessing a function without initalization 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 Try this: class Test def Test.hello puts "hello" end end Hope this helps, Lyle