From b0f6f33094606e50296cb525184708454420e860 Mon Sep 17 00:00:00 2001 From: Benoit Daloze Date: Sat, 13 Jul 2019 15:16:26 +0200 Subject: [PATCH] Document a few more RUBY_* constants --- doc/globals.rdoc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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.