
Basic principles of Object Oriented Programming in Ruby – Polymorphism
Ruby is purely object oriented programming language. Any object oriented programming language follows its basic four principles which are: 1. Polymorphism 2. Encapsulation 3. Inheritance 4. Abstraction In this series of articles we are going to understand them one by one with Ruby language. Let’s start with Polymorphism: Polymorphism