...

/

Methods of Ruby’s Integer Class

Methods of Ruby’s Integer Class

Learn about the methods that are available in Ruby for the integer class.

We'll cover the following...

There are not too many integer class methods, and it’s worth looking at the documentation to better understand what’s available for a programmer. In the upcoming sections, we’ll take a close look at some of them.

even? and odd?

even? ...