Why does calling the mess_with_vars
method not modify the value of the variables shown within?
def mess_with_vars(one, two, three)
one = "two"
two = "three"
three = "one"
end
one = "one"
two = "two"
three = "three"
mess_with_vars(one, two, three)
puts "one is: #{one}"
puts "two is: #{two}"
puts "three is: #{three}"