Behind The Scenes: How Numbers Work in Ruby
Ruby 2.4 will be merging both
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.
#ruby #rails #rubyonrails #bosnia #programming #tutorials #news