Mark Volkmann wrote:
> On 7/19/05, Stefan Lang <langstefan / gmx.at> wrote:
> 
>>There are no static methods in Ruby
>>(there is always a "self")
> 
> 
> Is there some difference between what is called a "class method" in
> Ruby and what is called a "static method" in Java?  They seem the same
> to me.

Well, yes and no. As Stefan said, there is always a
"self" value.

In Java, classes aren't objects. In Ruby, they are. A class method
in Ruby is just a singleton method attached to an object which
happens to be a class.


Hal