Skip to content

Instantly share code, notes, and snippets.

@rubydubee
Created June 30, 2011 22:30
Show Gist options
  • Save rubydubee/1057451 to your computer and use it in GitHub Desktop.
Save rubydubee/1057451 to your computer and use it in GitHub Desktop.
Assign 4
a, b = 5, 10
a, b = b/a, a-1 # => [2, 4]
a, b, c = 'A', 'B', 'C'
a, b, c = [a, b], { b => c }, a
puts a # => ["A", "B"]
puts b # => {"B"=>"C"}
puts c # => "A"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment