Object-Oriented Programming in Ruby

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
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.237.154