Creating custom classes and instantiating objects from them.
Introduction to OOP
Understand the concepts of classes and objects.
Learn about attributes (instance variables) and methods (instance methods).
Creating Classes
Learn how to define classes in Ruby.
Understand constructor methods (initialize).
By completing these tasks you should have a good understanding of Object-Oriented Programming concepts, how to create custom classes and instantiate objects from them, how to use access modifiers to control access to class members, and how to use inheritance and polymorphism to create subclasses and implement polymorphism.
Object-Oriented Programming (OOP) Basics
Creating custom classes and instantiating objects from them.
Introduction to OOP Understand the concepts of classes and objects. Learn about attributes (instance variables) and methods (instance methods). Creating Classes Learn how to define classes in Ruby. Understand constructor methods (initialize).
By completing these tasks you should have a good understanding of Object-Oriented Programming concepts, how to create custom classes and instantiate objects from them, how to use access modifiers to control access to class members, and how to use inheritance and polymorphism to create subclasses and implement polymorphism.
https://medium.com/@marcellamaki/object-relationships-in-basic-ruby-1af5773fff48 https://www.theodinproject.com/lessons/ruby-object-oriented-programming https://www.eriktrautman.com/posts/ruby-explained-classes