What is difference between these two methods in Ruby?
class Mod
def doc(str)
...
end
def Mod::doc(aClass)
...
end
end
What is difference between these two methods in Ruby?
class Mod
def doc(str)
...
end
def Mod::doc(aClass)
...
end
end