Created
October 2, 2015 07:25
-
-
Save nathanmpark/52ff757c5846bcd5e51d 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
# Initialize Hash | |
my_hash = {} | |
# Example hash | |
my_hash = { | |
:dog => "Leo", | |
:Birthday => "August, 24th 1990", | |
:Zodiac => "Virgo" | |
} | |
# Hashes display values based on the keys referenced | |
my_hash[:dog] = Leo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment