Skip to content

Instantly share code, notes, and snippets.

@allcentury
Created February 20, 2014 22:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save allcentury/9124727 to your computer and use it in GitHub Desktop.
Save allcentury/9124727 to your computer and use it in GitHub Desktop.
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