Created
May 11, 2012 19:04
-
-
Save kbaribeau/2661781 to your computer and use it in GitHub Desktop.
lolruby
This file contains hidden or 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
ree-1.8.7-2011.03 :003 > hash = Hash.new([]) | |
=> {} | |
ree-1.8.7-2011.03 :004 > hash[:asdf] << 1 | |
=> [1] | |
ree-1.8.7-2011.03 :005 > hash[:fdsa] | |
=> [1] | |
ree-1.8.7-2011.03 :006 > |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
:O