Skip to content

Instantly share code, notes, and snippets.

@Bluebie
Created August 22, 2012 06:07
Show Gist options
  • Save Bluebie/3422763 to your computer and use it in GitHub Desktop.
Save Bluebie/3422763 to your computer and use it in GitHub Desktop.
[1] pry(main)> my = ['a', 'b', 'c']
=> ["a", "b", "c"]
[2] pry(main)> (lambda {|a b c| puts a, b, c}).call(*my)
[2] pry(main)*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment