Created
May 27, 2014 13:16
-
-
Save shinokada/73f93263151e1bc3a550 to your computer and use it in GitHub Desktop.
This file contains 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
[1,2,3,4].inject(:+) # 10 | |
[1,2,3,4].inject:+ # 10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment