StandardError
A generic error class raised when an invalid operation is attempted. Kernel#raise will raise a RuntimeError if no Exception class is specified.
Kernel#raise
RuntimeError
Exception
raise "ouch"
raises the exception:
RuntimeError: ouch
This page was generated for Ruby 2.5.2
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.42.0.