Overview/Description
Object-oriented programming (OOP) is a fundamental part of Ruby. This course explores OOP and how classes and objects can be used to develop more sophisticated software. Topics include the following: how to describe OOP; create a class and an object; classify objects by mutability; create and use class methods; use an external class or a module. Other areas covered are inheritance, polymorphism, encapsulation, method overriding, and overloading. You will learn how to investigate classes, and add access controls, raise and handle exceptions. Finally, as a review exercise, you will create and use classes and objects in a Ruby app.