I have tried multiple different structures of code with this exercise, read through other forum questions that are the same as I am getting and still don't understand what is missing in my code. Can some assist me?
Star_Trek: 8, Star_Wars: 10
puts "What movie do you want to rate?"
movies = Hash.new("Title", "Rating")
puts "What's the rating according to you?:"
if movies[title].nil? then true
movies[title] = rating
puts "This movie exists in our hash, so it will not be added."
I am getting the message below.
"It looks like you didn't add to the movies hash!"
Any assistance would be greatly appreciated.