Avoid usage of deprecated Fixnum class

As of Ruby 2.4 Fixnum is deprecated due to the Integer class unification1 and instead the suggested class to use is Integer.

Since Fixnum is an Integer we can safely use Integer regardless of the ruby version.

Fixnum.ancestors.include?(Integer)
=> true

Merge request reports

Loading