RangeError
RangeError has not been discovered yet
Raised when a given numerical value is out of range.
[1, 2, 3].drop(1 << 100)
raises the exception:
RangeError: bignum too big to convert into `long'
RangeError has not been discovered yet
Raised when a given numerical value is out of range.
[1, 2, 3].drop(1 << 100)
raises the exception:
RangeError: bignum too big to convert into `long'
Join us on our quest to discover all of Ruby's Exceptional Creatures! Society members will receive new creatures as we discover them (we'll be adding more in the coming months). Oh, and you'll learn a lot about Ruby, too.