Forked from jackfranklin/gist:b774a3c976b126356972
Last active
August 29, 2015 14:05
-
-
Save appleton/df9dac8778b329659a0b to your computer and use it in GitHub Desktop.
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
def multiply(x, y) | |
x * y | |
end | |
p [1,2,3].map(&method(:multiply, 2)) | |
# ArgumentError :( |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment