ruby - SyntaxError: playlist.rb:33: syntax error, unexpected end-of-input, expecting keyword_end -
hate ask this, can't life of me find end error, can help> please, thanks.
require_relative 'playlist' describe playlist before @playlist = playlist.new("kermit") end context "being played 1 movie" before @initial_rank= 10 @movie = movie.new("goonies", @initial_rank) @playlist.add_movie(@movie) end "give movie thumbs if high number rolled" @playlist.play(5) @movie.rank.should == @initial_rank + 1 end "skips movie if medium niumber rolled" @playlist.play(3) @movie.rank.should == @initial_rank end end end
Comments
Post a Comment