Created
July 5, 2015 19:46
-
-
Save mfpiccolo/ed551ab906220fa7ae5e to your computer and use it in GitHub Desktop.
Reverse ruby example
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
"abcde".chars.reduce{|s,c| c + s } # => "edcba" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment