Skip to content

Instantly share code, notes, and snippets.

@jrochkind
Created February 6, 2014 22:07
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 jrochkind/8853450 to your computer and use it in GitHub Desktop.
Save jrochkind/8853450 to your computer and use it in GitHub Desktop.
old = hash[:a][:b]
hash[:a][:b] = hash[:a][:b].dup
hash[:a][:b].equal? old # shouldn't, but did somehow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment