From: Dat Nguyen Date: 2002-02-07T06:01:36+09:00 Subject: Variable over function
Hello all,
 
What's the reason behind the following:
 
aNum = 19
def aNum
      return "A free function"
end
 
puts aNum                 # => 19
 
Question: Why can't "def" redefine aNum ?
 
Thanks,
Dat


Chat with friends online, try MSN Messenger: Click Here