NoMethodError: undefined method 'new' for Bignum:Class : Bignum « Number « Ruby






NoMethodError: undefined method 'new' for Bignum:Class


puts (10 ** 20).object_id                         # => -606073730
puts ((10 ** 19) * 10).object_id                  # => -606079360
Bignum.new(10 ** 20)

 

Related examples in the same category