READ THE LATEST

Day: July 20, 2019

How objects send messages in Ruby

If open IRB (interactive ruby) and type in the following expression 2 + 3, you’ll get 5. If you reverse that with 3 + 2, you’ll still get 5. Numbers are just one of the many types of objects in Ruby. Whole numbers are an Integer type of object. So

Read More »