DelegateClass(Bignum)
Class representing an Integer Object.
Creates a new Integer from a Ruby Fixnum / Bignum.
The Integer value.
# File lib/origami/numeric.rb, line 123 def initialize(i = 0) unless i.is_a?(::Integer) raise TypeError, "Expected type Fixnum or Bignum, received #{i.class}." end super(i) end