From: Neil Stevens Date: 2005-04-16T07:29:49+09:00 Subject: Re: Why specify module names redundantly in Modules? On Fri, 15 Apr 2005 13:31:59 -0700, Chris wrote: > I have to do this: > > Module Foo > def Foo.bar > "bar" > end > end > > What's up with that? Seems redundant to me. (Oh, I already said > that!) :-) But I thought I would ask. Maybe there is a good reason > for this? Or, maybe there is a way around this? It is redundant, but you can do this: Module Foo def self.bar "bar" end end All that class and extend stuff some people are doing here is unnecessary, as far as I can tell. -- Neil Stevens - neil@hakubi.us 'A republic, if you can keep it.' -- Benjamin Franklin