Ruby Full Stack Development: Object-Oriented Programming

Ruby 2.5    |    Beginner
  • 12 videos | 54m 19s
  • Includes Assessment
  • Earns a Badge
Rating 3.8 of 10 users Rating 3.8 of 10 users (10)
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 ruby
    Create a class and create an object from that class in ruby
    Classify ruby objects by their mutability and how that affects how they can be used
    Add class methods and instance methods to a class in ruby
    Use a class or module from an external file in ruby
    Use inheritance, polymorphism, and encapsulation to extend or modify a class in ruby
  • Use method overriding and method overloading to expand a class in ruby
    Use inspect and other calls to get information about classes and instances in ruby
    Add access controls to the methods of a class in ruby to control which methods can be accessed
    Raise exceptions within ruby code
    Handle exceptions in ruby
    Create and use classes and objects in a ruby app

IN THIS COURSE

  • 3m 31s
    After completing this video, you will be able to describe object-oriented programming and how it is used in Ruby. FREE ACCESS
  • 4m 18s
    In this video, you will create a class and an object from that class in Ruby. FREE ACCESS
  • Locked
    3.  Classifying Objects by Mutability
    3m 35s
    In this video, you will classify Ruby objects by their mutability and how that affects how they can be used. FREE ACCESS
  • Locked
    4.  Creating and Using Class Methods
    4m 22s
    In this video, learn how to add class methods and instance methods to a class in Ruby. FREE ACCESS
  • Locked
    5.  Using an External Class or Module
    6m 20s
    In this video, learn how to use a class or module from an external file in Ruby. FREE ACCESS
  • Locked
    6.  Using Inheritance, Polymorphism, and Encapsulation
    6m 54s
    In this video, you will learn how to extend or modify a class in Ruby using inheritance, polymorphism, and encapsulation. FREE ACCESS
  • Locked
    7.  Using Method Overriding and Overloading
    4m 46s
    In this video, you will use method overriding and method overloading to expand a class in Ruby. FREE ACCESS
  • Locked
    8.  Investigating Classes
    2m 41s
    In this video, learn how to use the inspect and other calls to get information about classes and instances in Ruby. FREE ACCESS
  • Locked
    9.  Adding Access Controls
    3m 34s
    During this video, you will learn how to add access controls to the methods of a class in Ruby to control which methods can be accessed. FREE ACCESS
  • Locked
    10.  Raising Exceptions
    3m 49s
    In this video, learn how to raise exceptions within your Ruby code. FREE ACCESS
  • Locked
    11.  Handling an Exception
    6m 10s
    During this video, you will learn how to handle exceptions in Ruby. FREE ACCESS
  • Locked
    12.  Exercise: Using OOP Techniques with Ruby
    4m 20s
    Find out how to create and use classes and objects in a Ruby application. FREE ACCESS

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.

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE