From: Florian Gross Date: 2005-02-16T01:59:56+09:00 Subject: Re: Is this old style Ruby? Austin Ziegler wrote: > The difference between :: and . is that :: is used to access constants > or methods and . is used exclusively to access methods. For fun, try > doing: > > "foo"::length And you can not use :: for accessing methods that start with an uppercase letter: irb(main):001:0> def Xing(); end; self::Xing TypeError: main is not a class/module