Created
November 27, 2013 19:31
-
-
Save neilmiddleton/7681716 to your computer and use it in GitHub Desktop.
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
my_hash = {} | |
my_hash[:one] = 'foo' | |
my_hash[:two] = 'bar' | |
my_hash[:three] = 'baz' | |
my_hash.keys.each{|k| puts k} | |
my_hash = {} | |
my_hash[:three] = 'baz' | |
my_hash[:two] = 'bar' | |
my_hash[:one] = 'foo' | |
my_hash.keys.each{|k| puts k} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment