On Aug 28, 2006, at 2:12 PM, Robert Dober wrote:

> I think I read you know.
> Do you mean when defining
>   def Foo.x
> it does not matter if Foo is a class or anyting else, the  
> "singleton method"
> is defined on behalf of the "Object"?

I'm not sure I understood you here.  What I was saying is, whenever  
you see:

   def abc.some_method
     # ...
   end

You can be sure that some_method() was just defined as a singleton  
method of abc.  This is often used to make "class methods" in Ruby,  
but that's really just applying a familiar term to a Ruby concept.

It's always a singleton method being defined, as I understand it.

James Edward Gray II