Skip to content

Instantly share code, notes, and snippets.

@Martin91
Created September 11, 2014 09:55
Show Gist options
  • Select an option

  • Save Martin91/36c647984205c217ea4b to your computer and use it in GitHub Desktop.

Select an option

Save Martin91/36c647984205c217ea4b to your computer and use it in GitHub Desktop.
Replace hash key
hash[:new_key] = hash.delete :old_key
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment