I
iskaldur
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
?
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
?