Created
July 23, 2012 19:25
-
-
Save cotto/3165643 to your computer and use it in GitHub Desktop.
so, this seems to work
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cotto@quill:/usr/src/ruby-exp 1 $ cat hash.rb | |
map = {} | |
map[1234] = "value of 1234" | |
x = map[1234]; | |
puts x | |
cotto@quill:/usr/src/ruby-exp 1 $ ruby hash.rb | |
value of 1234 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment