зеркало из https://github.com/github/ruby.git
obsolete Config
* lib/rbconfig/obsolete.rb (Config): remove obsolete Config. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
a2d0ee620f
Коммит
1474cfa846
|
@ -1,5 +0,0 @@
|
|||
loc = caller[0]
|
||||
loc = loc[/\A.*:\d+:/] if loc
|
||||
loc = "#{loc} " if loc
|
||||
warn "#{loc}Use RbConfig instead of obsolete and deprecated Config."
|
||||
Config = RbConfig # compatibility for ruby-1.8.4 and older.
|
|
@ -248,7 +248,6 @@ print <<EOS
|
|||
)
|
||||
end
|
||||
end
|
||||
autoload :Config, "rbconfig/obsolete.rb" # compatibility for ruby-1.8.4 and older.
|
||||
CROSS_COMPILING = nil unless defined? CROSS_COMPILING
|
||||
EOS
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче