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.