From: Raphael Clancy Date: 2002-02-21T09:18:14+09:00 Subject: confused about '::' vs '.' in method calls I must admit I'm a bit confused... probably because I never realy understood the scope resoultion opperator when I learned C++, but I'm used to seeing '::' when you want to show the scope of a method... Foo::Bar() means Bar is a method in Foo called like so aFoo.Bar()... now in ruby, '::' and '.' seem to be interchangeable... that is I can use both aFoo::Bar() and aFoo.Bar() to call Bar on aFoo. In 'Ruby in a nutshell' Matz puts heavy emphasis on using '::' for class methods, but the pick-axe book tends to favor '.' Does it really matter which way you go? Are '::' and '.' functionaly the same? Sorry if this is old hat, but I had a hard time making google search the archive for '::' and '.' ;) Thanks! R.