On this page
End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
Object
!
Class methods 1
Instance methods 51
ARGV contains the command line arguments used to run ruby.
A library like OptionParser can be used to process command-line arguments.
An alias for OptionParser.
The copyright string for ruby
The full ruby version string, like ruby -v prints
The engine or interpreter this ruby uses.
The version of the engine or interpreter this ruby uses.
The patchlevel for this ruby. If this is a development build of ruby the patchlevel will be -1
The platform for this ruby
The date this ruby was released
The GIT commit hash for this ruby.
The running version of ruby
Holds the original stderr
Holds the original stdin
Holds the original stdout
Raised by Timeout.timeout when the block times out.
The Binding of the top level scope