Skip to content

Instantly share code, notes, and snippets.

@rafer
Created April 14, 2011 20:29
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 rafer/920441 to your computer and use it in GitHub Desktop.
Save rafer/920441 to your computer and use it in GitHub Desktop.
ROB 4/14/2011 Trivia: Question 8
#8. What instance method is defined on Symbol in active_support/ruby 1.9.2 to enable the ampersand trick?
# For example:
[1].map(&:to_s) # => ["1"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment