From: matz@... (Yukihiro Matsumoto) Date: 2003-02-18T21:56:41+09:00 Subject: Re: module This::Encompassing::That Hi, In message "Re: module This::Encompassing::That" on 03/02/18, ts writes: |Y> Do you worry about which namespace D searched in? I guess it must be |Y> top level (not A nor B). | | Yes, my problem is with | | class D | end | | module A | class D | end | end | | if I'm right | | class A::B < D | end | | it's not the same than | | module A | class B < D | end | end Yes, you're right as always. It should be treated as if tmp = D module A class B < tmp end end If you want the latter, you have to class A::B < A::D end matz.