From: mortee Date: 2007-11-08T02:29:18+09:00 Subject: Re: :: and . joey eisma wrote: > hi! > > reading through some tutorial, i noticed the author would interchange > using :: and . to call methods. i see they both give the same result. > > > i was wondering if there is any other difference between the two? > (other than convenience maybe?). when would you use one over the > other? It's described somewhere in the pickaxe book. IIRC when you access a member of a module using ::, without trailing parentheses, then it's considered accessing a constant. All other cases are method calls. mortee