Skip to content

Instantly share code, notes, and snippets.

@da3mon
Created October 16, 2008 05:45
Show Gist options
  • Save da3mon/17087 to your computer and use it in GitHub Desktop.
Save da3mon/17087 to your computer and use it in GitHub Desktop.
options = Hash[*"name_1=param_1&name_2=param_2".split(/&|=/)]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment