By Daniel Rice on Sep 26, 2019 - RUBY ON RAILS , PROGRAMMING , RUBY
Ruby’s Standard Library is full of many Objects that ship with just about any Object Oriented programming language. We have String
, Hash
, Array
, Integer
, and Float
. However, there are several more “niche” Objects that many code schools and programming books overlook. In this article, I’m going to show off one of Ruby’s lesser utilized Objects: the Rational Class. What are they and what can you use them to do?