From: Michael Hollins Date: 2007-06-12T13:50:14+09:00 Subject: Re: self in method name iskaldur wrote: > Is there any difference between using self in a method name, and not > using it? > For example, I've seen a lot something like > > class Foo > def self.bar > ... > end > end > > Is this the same thing as > > class Foo > def bar > ... > end > end > ? > I believe the first is equivalent to: class Foo def Foo.bar ... end end and so quite different to the second.