multiverse-team-11 / inventory-app

https://inventory-app-11-1emn.onrender.com/
0 stars 2 forks source link

Creating Classes #79

Closed Hannah0701 closed 3 weeks ago

Hannah0701 commented 1 month ago

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

Hannah0701 commented 4 weeks ago

Further reading https://launchschool.com/books/oo_ruby