Created
April 14, 2011 20:29
-
-
Save rafer/920441 to your computer and use it in GitHub Desktop.
ROB 4/14/2011 Trivia: Question 8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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