DelegateClass(Bignum)
Class representing an Integer Object.
Creates a new Integer from a Ruby Fixnum / Bignum.
i
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
[Validate]
Generated with the Darkfish Rdoc Generator 2.