Object-Oriented Programming (OOP) is at the heart of Ruby. An object bundles together data and behavior in one place. For example, a Car object might hold data like brand and color, and have behavior like drive and stop.
Recap
Once you understand Ruby OOP, Rails models, controllers, service objects, and gem code all become much easier to read.