Post on variable scope in Ruby