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.6.7
Ruby-doc.org is provided by James Britt and Neurogami. Hack your world. Feed your head. Live curious.
Generated with Ruby-doc Rdoc Generator 0.44.2.