Ruby Programming – The Basics of Ruby
Ruby is a pure object-oriented programming language. That means, everything is an object in Ruby. For example, 3 is an object of Number class. If you type 3.methods; it will return all the methods defined in the Number class. Similarly, if you type 3.class; you will see the type of the class this object is […]