From: Nathaniel Talbott Date: 2003-08-13T11:11:39+09:00 Subject: Re: Nested class/module namespace Austin Ziegler [mailto:austin@halostatue.ca] wrote: > It makes sense to me. > > You're defining a new constant C in module M. You're not *in* > module M. If you do: > > module M; end > M::B = :foo > p M::B > > This would be the same as doing: > > module M; end > c = Class.new > M::C = c > p M::C OK, I understand how it's behaving... but why? What's the benefit of it behaving like that? What's the downside of it behaving as nested classes do now? Nathaniel <:((><