Skip to content

Instantly share code, notes, and snippets.

@akiellor
Created November 20, 2012 04:59
Show Gist options
  • Save akiellor/4116142 to your computer and use it in GitHub Desktop.
Save akiellor/4116142 to your computer and use it in GitHub Desktop.
class Blah
def to_ary
[1, 2, 3]
end
end
blah = Blah.new
one, two, three = blah
one == 1
two == 2
three == 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment