One of the defining attributes of the Ruby programming language, in addition to readability, is how it implements object-oriented programming (OOP) techniques. In this chapter, you'll learn OOP for Ruby, including creating classes, instantiating objects, working with inheritance, and polymorphism. Additionally, you'll be able to do the following:
- Work with Ruby classes
- Use getter and setter methods in Ruby
- Demonstrate how to implement OOP techniques such as inheritance and polymorphism
- Employ the SOLID design patterns to follow OOP best practices