Language Basics Ruby

a = 1
b = 2
a, b = b, a
puts a                                 # => 2
puts b                                 # => 1