Integer is an instance of the Fixnum class, which inherits the Integer class.
x = 100 x.class # => Fixnum