On Tue, 11 Apr 2006, Mark Volkmann wrote:

> Thanks Ara!  I was only thinking about defining class methods.  You gave me
> lots to consider that I wasn't before.
>
> I do think it's a weird syntax though. It's a class definition inside a
> class definition, but it isn't defining a nested class like many Ruby
> beginners might guess at first glance.

yeah.  no one said it wasn't weird  ;-)


i've come to think of

   'class << self'

as

   'append to my class'

if that helps any.

cheers.

-a
-- 
be kind whenever possible... it is always possible.
- h.h. the 14th dali lama