From: Hal Fulton Date: 2004-08-02T22:38:21+09:00 Subject: Re: convention for deep classes/modules David Garamond wrote: > Is the more common convention: > > I prefer the second because I dislike having to indent several times. This is possible now but wasn't always. So it may be that older code didn't do it because it couldn't. > Also, is there a possibility that Ruby will "autovivify": > > module Foo::Bar::Baz > class Foo::Bar::Baz2 > > so it creates modules Foo, Bar, Baz automatically? I don't think this is possible, because it needs to know at each step whether the new thing is a class or a module. Hal