From: John Ky Date: 2006-10-10T09:24:18+09:00 Subject: Re: Shortcut for nested modules (RESOLVED) Awesome, thanks -John > It's the presence of D in the method name that's the problem; any of > these will work: > > module A::B::C::D > def self.f > puts 'foo' > end > end > > module A::B::C::D > def f > puts 'foo' > end > module_function :f > end > > module A::B::C::D > def f > puts 'foo' > end > extend self > end