Object-Oriented Programming in Ruby Activity

❮ Back Next ❯

In this activity, you will learn about and practice object-oriented programming (OOP) in Ruby.

First, watch the video introduction to OOP (see above).

Next, open the TryRuby Playground in your web browser:

https://try.ruby-lang.org/playground/

On each of the following pages, watch the video, enter the code shown into TryRuby, and run the code. You must take screenshots as specified to record your completion of the activity.

Important! Don’t just imitate the steps without understanding them. Be sure to pay close attention to what’s being said in the video, so you gain a deep understanding of how OOP in Ruby is actually done. If you have questions, don’t hesitate to post them to the Help! Help! Help! channel in Teams.

Important! All screenshots must include your computer’s desktop in the background so that it is recognizable as your desktop.


❮ Back Next ❯