Learn
A Night at the Movies
Display

Awesome! Now let’s handle displaying the contents of our movies hash. This will be a little different from what we did for the “add” and “update” branches.

Instructions

1.

First, remove the puts "Movies!" when the user types “display”.

Next, iterate through the hash using .each and puts each movie/rating pair. The format should be "#{movie}: #{rating}. Make sure to test it out!

Folder Icon

Take this course for free

Already have an account?