Ruby Full Stack Development: Object-Oriented Programming
Ruby 2.5
| Beginner
- 12 videos | 54m 19s
- Includes Assessment
- Earns a Badge
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.
WHAT YOU WILL LEARN
-
describe object-oriented programming and how it is ingrained into Rubycreate a class and create an object from that class in Rubyclassify Ruby objects by their mutability and how that affects how they can be usedadd class methods and instance methods to a class in Rubyuse a class or module from an external file in Rubyuse inheritance, polymorphism, and encapsulation to extend or modify a class in Ruby
-
use method overriding and method overloading to expand a class in Rubyuse inspect and other calls to get information about classes and instances in Rubyadd access controls to the methods of a class in Ruby to control which methods can be accessedraise exceptions within Ruby codehandle exceptions in Rubycreate and use classes and objects in a Ruby app
IN THIS COURSE
-
1.Describing OOP3m 31sUP NEXT
-
2.Creating a Class and Object4m 18s
-
3.Classifying Objects by Mutability3m 35s
-
4.Creating and Using Class Methods4m 22s
-
5.Using an External Class or Module6m 20s
-
6.Using Inheritance, Polymorphism, and Encapsulation6m 54s
-
7.Using Method Overriding and Overloading4m 46s
-
8.Investigating Classes2m 41s
-
9.Adding Access Controls3m 34s
-
10.Raising Exceptions3m 49s
-
11.Handling an Exception6m 10s
-
12.Exercise: Using OOP Techniques with Ruby4m 20s
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.
Digital badges are yours to keep, forever.