- 03 January 2017
- Ruby Design
- Object-Oriented Programming: Encapsulation and Inheritance
Ruby - it's an object-oriented language. If we want to understand ideas that Matz put into Ruby - we should understand basics of object-oriented programming (OOP). In this post I'll cover encapsulation and inheritance. I'll devote separate post for polymorphism.