From: Jason Voegele Date: 2003-02-09T22:23:08+09:00 Subject: Re: Where is Math.PI ?? Mark Slagell wrote: > For what it's worth, I think you can use '::' in place of '.' whenever > you want, but not vice versa. > > Anyway you need '::' when referring to constants, although orthodox > style is to use '.' for method calls. I've read somewhere that matz recommends using :: for class methods and . for instance methods. Maybe in Ruby in a Nutshell? -- Jason Voegele "We believe that we invent symbols. The truth is that they invent us." -- Gene Wolfe, The Book of the New Sun