Important! All screenshots must include your computer’s desktop in the background so that it is recognizable as your desktop.
📸 Screenshot ruby-1-01: On the “Standing in Line” page, add the number 999 to the array and re-run the code.
📸 Screenshot ruby-1-02: On the “More Bite-Size Reviews” page, immediately after the line that adds the “Living colors” review to the hash, add the book “The Mythical Man-Month” with a rating of quite_good and re-run the code.
📸 Screenshot ruby-1-03: On the “Are You Harsh?” page, there is alternative syntax for the each loop. Edit the loop to be written as follows and re-run the code.
books.values.eachdo|rate|ratings[rate]+=1end
📸 Screenshot ruby-1-04: On the “Noble Kinsmen” page, update the code so that each title is followed by a dash and the year the work was finished and re-rerun the code.
💡 Hint: One line of output should look like this:
Edward III - 1593.
💡 Hint: Strings can be concatenated using the + operator (e.g., puts "Hi" + "there!").
💡 Hint: The years are encoded as integers and may need to be converted to strings using the to_s method.
📸 Screenshot ruby-1-05: On the “All’s Well That Ends Well”, update the call to print_plays such that it lists the plays finished between 1500 and 1599 and re-run the code.
📸 Screenshot ruby-1-06: On the “And Now For the Startling Conclusion”, correct the error regarding the equal comparison operator and re-run the code.
📸 Screenshot ruby-1-07: On the “Me hungry” page, change the method hungry? to display “Me not hungry” and returning false when the time is less than 12, re-rerun the code, and take a screenshot.
ruby-1-08: On the “It’s All About Combining” page, for each blurb line outputted, add a smiley on the end of the line to reflect the blurb’s mood and re-run the code.
💡 Hint: The moodify method will return a smiley string for a Blurb object.
💡 Hint: One line of output will look like this:
I am never going back to that mountain. 2024-01-22 20:06:12 +0000 :-|
How to Submit
Submit your screenshots in a Word DOCX to the designated Canvas assignment.