Ruby 2.4 will be merging both Fixnum
& Bignum
into the same class (Integer
) so I think this is a good time to review the different number types in Ruby! All this means is that Fixnum
objects are closer to symbols in terms of how they work at the interpreter level, while Bignum
objects are closer to strings.