On 10/10/06, Mait <mattengi / gmail.com> wrote:
>
> What means 'class << self' ? I don't understand...
>
> Plz anyone let me know secret ; )
>
> Thanks.
>

The 'class << self' notation gives you access to the Singleton class
for the object 'self'.

There is a great explanation on the RubyGarden wiki page ...

http://wiki.rubygarden.org/Ruby/page/show/SingletonTutorial

It is much better than my on line explanation.

Blessings,
TwP