Created
May 11, 2012 17:17
-
-
Save tonycoco/2661100 to your computer and use it in GitHub Desktop.
Confusing Ruby Hash Syntax
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
# New | |
range :percentile, from: percentile[0], to: 1 | |
# Old | |
range :percentile, :from => percentile[0], :to => 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Symbols just get lost now... so goofy.