On Tuesday, February 3, 2004, 1:19:57 AM, Brad wrote:

> All:

> This may be mentioned somewhere, but I have yet to see an explanation
> of what the difference between:

>     Class#method

> and

>     Class.method

> is in the documentation.


  Class#instance_method         (Array#size)

  Class.class_method            (Regexp.escape)

Class methods are really just singleton methods on a class object.
That's why I prefer Class.method notation to Class::method, which is
also allowed.

Class#method is a documentation convention only; the language does not
recognise it.

Cheers,
Gavin