Class representing an Integer Object.
Creates a new Integer from a Ruby Fixnum / Bignum.
[Source]
# File sources/parser/numeric.rb, line 111 111: def initialize(i = 0) 112: 113: unless i.is_a?(::Integer) 114: raise TypeError, "Expected type Fixnum or Bignum, received #{i.class}." 115: end 116: 117: super(i) 118: end
[Validate]