From: ts Date: 2001-12-05T16:39:03+09:00 Subject: [ruby-talk:27530] Re: Package Naming >>>>> "J" == Joel VanderWerf writes: J> Then, for consistency, should J> def X::foo; end J> define X as a module, if it's undefined? See [ruby-talk:23973] for this case J> In any case, I'm not crazy about implicit definitions that might or J> might not conflict with later definitions. Why not force the programmer J> to be explicit about the class/module choice? Because if he want to do it, he can, i.e. he don't have the obligation to write module A::B if he want to write class A module B end end Guy Decoux