Skip to content

Instantly share code, notes, and snippets.

@dmehrotra
Created August 21, 2013 23:20
Show Gist options
  • Save dmehrotra/6301450 to your computer and use it in GitHub Desktop.
Save dmehrotra/6301450 to your computer and use it in GitHub Desktop.
Game of Thrones
characters = {
"Tyrion Lannister" => "House Lannister",
"Jon Snow" => "Night's Watch",
"Hodor" => "House Stark",
"Stannis Baratheon" => "House Baratheon",
"Theon Greyjoy" => "House Greyjoy"
}
characters.each do |key, value|
puts "#{key} represents the #{value}"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment