How can Ruby tell the difference between variables and methods if both have the same name and the same scope?
Given the scenario:
something = "44"
something # --> calling something (variable or method?)
variable would be first, but you can call method:
def foo 33 end foo = 44 >foo #=> 44 >foo() #=> 33