The difference between Ruby Public, Private & Protected methods
Ruby, like many other languages, allows you to control the access control of your methods. They can either be public (you can call the from anywhere), private or protected. In Ruby, all methods are public by default, so it's up to you to make them private or protected.
What are Getter and Setter methods in Ruby?
If you want to either retrieve or set a value of an instance variable from a Ruby class, you need to learn about getters and setters. Learning about attr_accessor is also really useful to help you keep your class clean and tidy.
Intro to Ruby Classes
Classes are the basic building block in Object Oriented Programming (OOP). They define the blueprint for creating objects. In this lesson, we will learn everything that we need to start working with Ruby Classes.
The safe navigation operator (&.) in Ruby
Ruby's safe operator is used when you don't want your app to throw an exception if a method is called on a nil object.
Ruby Symbols vs Strings
Learn about Ruby's symbols and strings - what are the similarities and differences and which of the two is faster