Display: Help!


Hi mates! I'm a newbie with this ruby stuff.

I getting this error and don't know why ...

"Oops, try again. It looks like your 'puts' doesn't include : ."

I think that is valid code but i don't understand the error...

  when "display"
    movies.each do |movie, rating|
        puts "#{movie}: #{rating}."


Incomplete example + no link to exercise ->
Difficult to reproduce issue ->
Difficult to understand issue ->
Yet more difficult to reply


Perhaps you've got a key/value where key and value is empty, and perhaps your format doesn't match what's described, so when you print each one, you aren't printing what's expected? Essentially you need to compare your program's behaviour to the behaviour the instructions describe. And that's what others would need to do but are unable to do without a complete description of the problem allowing them to reproduce it


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.