From: Martin Hart Date: 2005-05-17T00:21:27+09:00 Subject: Re: Problems with the "outer scope" operator not sure if I entirely understand what you mean, but consider this: class Outer end class Inner class Outer end class Child1 < Outer end class Child2 < ::Outer end end Without the leading '::', Child2 would derive from Inner::Outer and not ::Outer. Cheers, Martin On 5/16/05, Lothar Scholz wrote: > Hello, > > i don't know whats the name of the "::" operator in a "::module" > expression. In this posting i call it outer scope operator. > > I need to learn about this as i write a source code analyser that > extracts the class hierarchy from the ruby runtime and there i find > some strange definitions like > > class RequestRouter < ::SOAP::RPC::Router > or > class HTTPServer < ::WEBrick::GenericServer > > Why is this done, before i read this i always thought that the > declaration > > class HTTPServer < WEBrick::GenericServer > > with an explicit scope path of the superclass would be the same ? > > -- > Best regards, > Lothar Scholz mailto:scholz@scriptolutions.com > > -- Regards, Martin Hart