Skip to content

Instantly share code, notes, and snippets.

@tonycoco
Created May 11, 2012 17:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tonycoco/2661100 to your computer and use it in GitHub Desktop.
Save tonycoco/2661100 to your computer and use it in GitHub Desktop.
Confusing Ruby Hash Syntax
# New
range :percentile, from: percentile[0], to: 1
# Old
range :percentile, :from => percentile[0], :to => 1
@tonycoco
Copy link
Author

Symbols just get lost now... so goofy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment