RangeError
Raised when attempting to convert special float values (in particular Infinity or NaN) to numerical classes which don't support them.
Infinity
NaN
Float::INFINITY.to_r #=> FloatDomainError: Infinity
This page was generated for Ruby 2.5.5
Ruby-doc.org is provided by James Britt and Neurogami. Maximum R+D.
Generated with Ruby-doc Rdoc Generator 0.42.0.