From: Daniel Schierbeck Date: 2005-12-19T22:37:48+09:00 Subject: Re: :: without a prefix (global?) List Recv wrote: > I've found some cases where things don't work correctly unless they're > prefixed with a :: . I'm really confused - isn't :: used to specify the > module (like Graphics::Circle)? > > What is ::Circle? No module?! `::' will take you to the top level. Bar = "::Bar" module Foo Bar = "Foo::Bar" def self.bur puts Bar => "Foo::Bar" puts ::Bar => "::Bar" end end Cheers, Daniel