Hi,

At Fri, 12 Feb 2010 11:15:14 +0900,
Yehuda Katz wrote in [ruby-core:28154]:
>     class Foo::Bar
>       Baz
>     end
> 
> Here, we should look in "app/models/foo/bar/baz.rb" and in
> "app/models/baz.rb" just as Ruby would search for
> Foo::Bar::Baz and then Object::Baz.
> 
>     class Foo
>       class Bar
>         Baz
>       end
>     end
> 
> Here, we should look in "app/models/foo/bar/baz.rb", then
> "app/models/foo/baz.rb", and finally "app/models/baz.rb" just
> as Ruby would search for Foo::Bar::Baz, then Foo::Baz, and
> then Object::Baz.

I don't think you can distinguish the latter from the following.

    class Foo
      class Bar
        Foo::Bar::Baz
      end
    end

Is it OK?

-- 
Nobu Nakada