autovivification in Ruby?
Apr 13
2008
2008
Comments Off
if false x = true end x.class #NilClass
Ruby declares the variable even if the assignment is not executed.
my web space
if false x = true end x.class #NilClass
Ruby declares the variable even if the assignment is not executed.