Open
Description
TryRuby/source/try_ruby_en.json
Line 41 in 84ec432
The text in this lesson is asking the user to find the number of plays Shakespeare wrote in 1591 using the count_plays
method, but in the example code, count_plays
is called with a year
value of 0. As a result the code errors if not modified.
The last line of the example code should read as follows:
puts count_plays(1591)
If nobody else beats me to it, I'll gladly open a PR for this when I have a bit more time.
Metadata
Metadata
Assignees
Labels
No labels