Skip to content

Instantly share code, notes, and snippets.

@sw17ch
Created May 29, 2012 16:34
Show Gist options
  • Save sw17ch/2829425 to your computer and use it in GitHub Desktop.
Save sw17ch/2829425 to your computer and use it in GitHub Desktop.
$ pry
[1] pry(main)> x = {}
=> {}
[2] pry(main)> x["hello"] = 1
=> 1
[3] pry(main)> x['hello'] = 2
=> 2
[4] pry(main)> x
=> {"hello"=>2}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment