From: Gavin Sinclair Date: 2003-02-19T13:20:37+09:00 Subject: Re: module This::Encompassing::That On Wednesday, February 19, 2003, 3:05:48 PM, Yukihiro wrote: > Hi, > In message "Re: module This::Encompassing::That" > on 03/02/19, Gavin Sinclair writes: |>> tmp = D |>> module A |>> class B < tmp |>> end |>> end > | > |Isn't > | > | class A::B < ::D > | > |equivalent here? > Yes. But it can be something like > module Foo > class A::B < D > end > end > where search for D start from Foo, then toplevel (Object). Best to be explicit, IMO. This is syntax sugar, not the solution to every problem. Gavin