Multiple Assignment

A simple example

def some_method
  [x, y, z]
end

x, y, z = some_method

Swap values

x, y = y, x