Fixed a typo

This commit is contained in:
Adam 2013-06-27 18:27:14 -07:00
parent 1fed90cba6
commit e37b1745a7

View File

@ -154,7 +154,7 @@ tup[:2] #=> (1, 2)
a, b, c = (1, 2, 3) # a is now 1, b is now 2 and c is now 3 a, b, c = (1, 2, 3) # a is now 1, b is now 2 and c is now 3
# Tuples are created by default if you leave out the parentheses # Tuples are created by default if you leave out the parentheses
d, e, f = 4, 5, 6 d, e, f = 4, 5, 6
# Now look how easy it is to swap to values # Now look how easy it is to swap two values
e, d = d, e # d is now 5 and e is now 4 e, d = d, e # d is now 5 and e is now 4