diff options
author | Benoit Daloze <eregontp@gmail.com> | 2019-07-13 15:16:26 +0200 |
---|---|---|
committer | Benoit Daloze <eregontp@gmail.com> | 2019-07-13 15:16:26 +0200 |
commit | b0f6f33094606e50296cb525184708454420e860 (patch) | |
tree | 098437af81aa6bc82a6f2eef104c450607fe97e5 /doc | |
parent | 43677a2c58c82ddd630eb5267d1683e1c651c529 (diff) | |
download | ruby-b0f6f33094606e50296cb525184708454420e860.tar.gz |
Document a few more RUBY_* constants
Diffstat (limited to 'doc')
-rw-r--r-- | doc/globals.rdoc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/globals.rdoc b/doc/globals.rdoc index b2dbcee1c7..96030ea550 100644 --- a/doc/globals.rdoc +++ b/doc/globals.rdoc @@ -58,6 +58,9 @@ ENV:: The hash contains current environment variables. ARGF:: The virtual concatenation of the files given on command line (or from $stdin if no files were given). ARGV:: An Array of command line arguments given for the script. DATA:: The file object of the script, pointing just after __END__. -RUBY_VERSION:: The ruby version string (VERSION was deprecated). +RUBY_VERSION:: The Ruby language version. RUBY_RELEASE_DATE:: The release date string. RUBY_PLATFORM:: The platform identifier. +RUBY_ENGINE:: The name of the Ruby implementation. +RUBY_ENGINE_VERSION:: The version of the Ruby implementation. +RUBY_DESCRIPTION:: The same as `ruby --version`, a String describing various aspects of the Ruby implementation. |