On 15-Feb-05, at 8:54 AM, centrepins / gmail.com wrote:

> In Why's guide, I see the line:
>
> File::open( ...etc.
>
> Up 'til now I've always written this as:
>
> File.open( ...etc.
>
> (ie. using a . rather than a ::).  Am I right in thinking the :: for
> accessing class methods is now old-style?

Foo::bar is for accessing "bar" (be it a method or class or whatever) 
in the module "Foo". Foo.bar wants "bar" in class "Foo".

--
J.