Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

CodeSignal

Revisiting OOP Concepts in Ruby

via CodeSignal

Overview

Essential OOP concepts in Ruby are crucial for building robust, scalable, and maintainable software systems. This course revisits key OOP principles, such as encapsulation, inheritance, polymorphism, and abstraction, and demonstrates their practical application in Ruby programming.

Syllabus

  • Unit 1: Classes and Objects in Ruby
    • Add a Data Member to the Musician Class in Ruby
    • Enhancing the Album Class
    • Implementing a Person Class in Ruby
  • Unit 2: Introduction to Encapsulation in Ruby
    • Adding and Validating a Price Field in the Gadget Class
    • Encapsulation with Getter and Setter Methods in Ruby
    • Encapsulation with attr_reader in Ruby
  • Unit 3: Inheritance in Ruby
    • Inheritance and University Information in Ruby
    • Modify Employee Class with Employee ID Attribute in Ruby
    • Adding a GraduateStudent Class in Ruby
    • Creating and Displaying Inherited Vehicle Attributes
  • Unit 4: Introduction to Polymorphism in Ruby
    • Adding an Introduction Method to Class Hierarchy in Ruby
    • Polymorphism with Derived Classes in Ruby
    • Practicing Polymorphism with Vehicles in Ruby
    • Polymorphism with Ruby Classes

Reviews

Start your review of Revisiting OOP Concepts in Ruby

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.