On this page
End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
Object
!
Class methods 1
Instance methods 43
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
When a Hash is assigned to SCRIPT_LINES__ the contents of files loaded after the assignment will be added as an Array of lines with the file name as the key.
Holds the original stderr
Holds the original stdin
Holds the original stdout
The Binding of the top level scope
Ruby version changes 1
-
3.2
-
Proc#dupreturns an instance of subclass. [Bug #17545]
-