Skip to content

Instantly share code, notes, and snippets.

@allcentury
Created February 21, 2014 12:25
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/9133386 to your computer and use it in GitHub Desktop.
Save allcentury/9133386 to your computer and use it in GitHub Desktop.
favorite_movies = [
{ title: 'The Big Lebowski', year_released: 1998, director: 'Joel Coen', imdb_rating: 8.2 },
{ title: 'The Shining', year_released: 1980, director: 'Stanley Kubrick', imdb_rating: 8.5 },
{ title: 'Troll 2', year_released: 1990, directory: 'Claudio Fragasso', imdb_rating: 2.5 }
]
favorite_movies.each do |value|
puts "#{value[:year_released]}: #{value[:title]}"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment