module Ruby - Documentation for Ruby 4.0
Description: module Ruby: Ruby] module that contains portable information among implementations. The constants defined here are aliased in the toplevel with +RUBY_+ prefix.
Keywords: ruby,module,Ruby

🔍

No recent searches

# module Ruby

The `Ruby` module that contains portable information among implementations.

The constants defined here are aliased in the toplevel with `RUBY_` prefix.

### Constants

COPYRIGHT

  The copyright string for ruby

DESCRIPTION

  The full ruby version string, like `ruby -v` prints

ENGINE

  The engine or interpreter this ruby uses.

ENGINE_VERSION

  The version of the engine or interpreter this ruby uses.

PATCHLEVEL

  The patchlevel for this ruby. If this is a development build of ruby the patchlevel will be -1

PLATFORM

  The platform for this ruby

RELEASE_DATE

  The date this ruby was released

REVISION

  The GIT commit hash for this ruby.

VERSION

  The running version of ruby