Created
October 1, 2013 13:27
-
-
Save samtalks/6778435 to your computer and use it in GitHub Desktop.
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
# Movie collection by genre | |
movies = { | |
:animation => ["Incredibles", "Little Mermaid", "Cars"] | |
:comedy => ["Zoolander", "Groundhog Day"], | |
:drama => ["Little Women", "JFK", "Black Stallion"] | |
} | |
# Recipes with ingredients | |
recipes = { | |
:rice => ["rice", "water"] | |
:popcorn => ["dried corn", "butter"], | |
:hot_dogs => ["weiners", "buns", "ketchup", "sauerkraut"] | |
} | |
# User profiles where each user has a list of favorite colors along with 3 personal essays, essay_1, essay_2, essay_3 | |
user_profiles = { | |
"John Smith" => [{:color => "green"}, {:essays => ["essay_1", "essay_2", "essay_3"]}] | |
"Sally Lee" => [{:color => "blue"}, {:essays => ["essay_1", "essay_2", "essay_3"]}], | |
"Nat King" => [{:color => "red"}, {:essays => ["essay_1", "essay_2", "essay_3"]}] | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment