method

util_clear_RUBY_VERSION

ruby latest stable - Class: Gem::TestCase

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

util_clear_RUBY_VERSION()
public

No documentation available.

# File lib/rubygems/test_case.rb, line 1203
  def util_clear_RUBY_VERSION
    Object.send :remove_const, :RUBY_VERSION
    Object.send :remove_const, :RUBY_PATCHLEVEL     if defined?(RUBY_PATCHLEVEL)
    Object.send :remove_const, :RUBY_REVISION       if defined?(RUBY_REVISION)
    Object.send :remove_const, :RUBY_DESCRIPTION    if defined?(RUBY_DESCRIPTION)
    Object.send :remove_const, :RUBY_ENGINE
    Object.send :remove_const, :RUBY_ENGINE_VERSION if defined?(RUBY_ENGINE_VERSION)
  end