Object Oriented Programming in Ruby


Not CompletedIntroduction to How OOP Works in Ruby

In this lesson, we are going into look into a fundamental concept called Object Oriented programming. If you're coming from other object-oriented programming languages, you may be familiar with some of these concepts, but still it's important you pay attention because Ruby embraces a very specific form of object-oriented programming compared with many other languages available today.

Not CompletedRuby OOP Development: Setters, Getters, and Methods

Ruby utilizes a unique syntax for creating setters and getters in a class, in this lesson we will walk through how to implement these important processes.

Not CompletedWorking with Instantiation in Ruby

If you’re new to object oriented programming, a natural question to ask is: what does instantiation mean?

Not CompletedHow to Create an Initializer Method in a Ruby Class

One thing you may find handy in Ruby development is to create an `initializer` method. If you're wondering **what is an initializer method?**, it is simply a method called `initialize` that will run every time when you create an instance of your class. In this method, you can give values to your variables, call other methods and do just about anything that you think should happen when a new instance of that class is created.

Not CompletedHow OOP Inheritance Works in Ruby

In this lesson, we are going to learn about an important object-oriented principle called inheritance. Before going into how it is executed in Ruby, let's see why it's important for building applications.

Not CompletedOverview of Private vs Public Methods in Ruby

This is going to be a fun episode, as we are going to talk about sending an sms message. Also, we are going to be learning about private and public methods.

Not CompletedHow Polymorphism Works and Using Super in Ruby

In this lesson, we are going to talk about another important concept in object-oriented programming called polymorphism. Polymorphism occurs when a class that inherits from a parent class changes the behavior of a method in the parent class.

Not CompletedDead Simple Object Oriented Programming

Through my years of teaching, one of the most common questions I get from developers is how to best understand object oriented programming. OOP development can seem a bit intimidating if you've never used it before so I wanted to take a step back and give a high level perspective of how it can be used to build applications.

Not CompletedSOLID OOP Development: Single Responsibility Principle

In this section of understanding the SOLID development pattern and how it applies to OOP we are going to walk through the single responsibility principle. While the concept of single responsibility has been around for a while it was popularized in 2003 by Uncle Bob.

Not CompletedSOLID OOP Development: Open Closed Principle Guide and Example

Continuing on our discussion of SOLID development principles, in this guide I’m going to walk through the: open closed principle.

Not CompletedSOLID OOP Development: Liskov Substitution Principle

Continuing on our discussion of SOLID OOP development principles, in this guide we’re going to walk through the Liskov substitution principle.

Not CompletedSOLID OOP Development: Interface Segregation Principle

As we make our way through the SOLID Development journey, it’s time we turned to the I in SOLID, which represents the: interface segregation principle.

Not CompletedSOLID OOP Development: Dependency Inversion Principle

In this guide we’re going to walk through the final element of the SOLID Development pattern, the: dependency inversion principle.

Quizzes


Object Oriented Programming in Ruby
    Unsupported Browser

    devCamp does not support ancient browsers.
    Install a modern version for best experience.