Object Oriented Programming - OOP is a concept that a programming language should be satisfying, so that the language can be called as an Object Oriented Programming (OOP) language.
Object Oriented Programming(OOP) language, as the name suggests, is a language where everything is treated as an object.
Anything and everything can be considered as an object. Be it a Human Being or a Car or a Tree or any physical object.
And the beauty of Object Oriented Programming (OOP) language is, it can give a virtual representation of any physical Object.
Well! Ruby satisfies almost all the features of an Object Oriented Programming (OOP) language.
The basic building blocks of Object Oriented Programming (OOP) can be abbreviated as PIE. i.e. Polymorphism, Inheritance and Encapsulation.
They are listed below :