What I didn’t know about Ruby Numbers

I’ve always had this feeling that while learning Ruby and Rails, there were tons of little notions that I didn’t really understood. I’m used to write things in order to learn them so here is a series of short articles about what I didn’t know.

Krivec Ales — Pexels.com

The Numeric Class

In Ruby, what we call “numbers” are all objects from the Numeric class as we can see on the following…