Tammo Tjarks
9/12/2007 10:00:00 PM
Hello,
I somehow stumbled over a, how I think, strange behavior. When I try to
handle a undefined variable in irb I get something like that:
irb(main):001:0> !blubb
NameError: undefined local variable or method `blubb' for main:Object
from (irb):1
But when I do the same with a undefined instance variable I get:
irb(main):002:0> !@blubb
=> true
I think that is somehow strange. Because of that I have overseen a
mispelling in the instance variable name. Is that the wanted behavior?
Regards,
Tammo