Skip to content

Instantly share code, notes, and snippets.

/.rb Secret

Created September 22, 2015 19:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/332ea566809e72714267 to your computer and use it in GitHub Desktop.
Save anonymous/332ea566809e72714267 to your computer and use it in GitHub Desktop.
[20] pry(main)> require 'rspec'
=> true
[21] pry(main)> require 'awesome_print'
=> true
[22] pry(main)> def methy(*args); ap args; end;
[23] pry(main)> methy 4,3,2
[
[0] 4,
[1] 3,
[2] 2
]
=> nil
[24] pry(main)> methy [4,3,2]
[
[0] [
[0] 4,
[1] 3,
[2] 2
]
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment