R
rantingrickjohnson
Same bowel movement, different cess pool!
Can someone please explain the logic of having undefined symbols default to random values instead of throwing a NameError? Because this is making me F'ING NUTS PEOPLE!!!!
============================================================
Code Sample
============================================================
class Foo
def foo
$stdout.write("@poo = #{@poo}\n")
end
end
============================================================
Interactive Session
============================================================
rb> f = Foo.new
#<Foo:0x79e6680>
rb> f.foo
@poo = 7
============================================================
Resulting Emotional State
============================================================
ಠ_à²
Can someone please explain the logic of having undefined symbols default to random values instead of throwing a NameError? Because this is making me F'ING NUTS PEOPLE!!!!
============================================================
Code Sample
============================================================
class Foo
def foo
$stdout.write("@poo = #{@poo}\n")
end
end
============================================================
Interactive Session
============================================================
rb> f = Foo.new
#<Foo:0x79e6680>
rb> f.foo
@poo = 7
============================================================
Resulting Emotional State
============================================================
ಠ_à²