From: Dave Thomas Date: 2001-12-05T15:08:18+09:00 Subject: [ruby-talk:27521] Re: Package Naming nobu.nokada@softhome.net writes: > At Wed, 5 Dec 2001 14:12:14 +0900, > Hal E. Fulton wrote: > > module X::Y::Z > > > > I am saying that Z is a module, regardless > > of whether X and Y are classes or modules. > > Yes, but I think there must be preceding X and X::Y > definitions, or it should cause NameError. I _think_ my preference would be to assume that any undefined constants are always Modules, and then to raise a name error subsequently if this turns out not to be the case. Dave