зеркало из https://github.com/github/ruby.git
[rubygems/rubygems] ditto: RUBY_ENGINE_VERSION
https://github.com/rubygems/rubygems/commit/dc82ebeac6
This commit is contained in:
Родитель
3dc4bc313f
Коммит
3725850297
|
@ -1099,7 +1099,7 @@ Also, a list:
|
|||
@RUBY_REVISION = RUBY_REVISION
|
||||
@RUBY_DESCRIPTION = RUBY_DESCRIPTION
|
||||
@RUBY_ENGINE = RUBY_ENGINE
|
||||
@RUBY_ENGINE_VERSION = RUBY_ENGINE_VERSION if defined?(RUBY_ENGINE_VERSION)
|
||||
@RUBY_ENGINE_VERSION = RUBY_ENGINE_VERSION
|
||||
|
||||
util_clear_RUBY_VERSION
|
||||
|
||||
|
@ -1108,7 +1108,7 @@ Also, a list:
|
|||
Object.const_set :RUBY_REVISION, revision
|
||||
Object.const_set :RUBY_DESCRIPTION, description
|
||||
Object.const_set :RUBY_ENGINE, engine
|
||||
Object.const_set :RUBY_ENGINE_VERSION, engine_version if engine_version
|
||||
Object.const_set :RUBY_ENGINE_VERSION, engine_version
|
||||
end
|
||||
|
||||
def util_restore_RUBY_VERSION
|
||||
|
@ -1119,7 +1119,7 @@ Also, a list:
|
|||
Object.const_set :RUBY_REVISION, @RUBY_REVISION
|
||||
Object.const_set :RUBY_DESCRIPTION, @RUBY_DESCRIPTION
|
||||
Object.const_set :RUBY_ENGINE, @RUBY_ENGINE
|
||||
Object.const_set :RUBY_ENGINE_VERSION, @RUBY_ENGINE_VERSION if defined?(@RUBY_ENGINE_VERSION)
|
||||
Object.const_set :RUBY_ENGINE_VERSION, @RUBY_ENGINE_VERSION
|
||||
end
|
||||
|
||||
def util_clear_RUBY_VERSION
|
||||
|
@ -1128,7 +1128,7 @@ Also, a list:
|
|||
Object.send :remove_const, :RUBY_REVISION
|
||||
Object.send :remove_const, :RUBY_DESCRIPTION
|
||||
Object.send :remove_const, :RUBY_ENGINE
|
||||
Object.send :remove_const, :RUBY_ENGINE_VERSION if defined?(RUBY_ENGINE_VERSION)
|
||||
Object.send :remove_const, :RUBY_ENGINE_VERSION
|
||||
end
|
||||
|
||||
##
|
||||
|
|
Загрузка…
Ссылка в новой задаче