зеркало из https://github.com/github/ruby.git
[rubygems/rubygems] Removed self.mingw_windows?, It's not used rubygems
https://github.com/rubygems/rubygems/commit/ba3c985701
This commit is contained in:
Родитель
28d6c6d69b
Коммит
bf8afe434f
|
@ -1177,15 +1177,8 @@ Also, a list:
|
|||
##
|
||||
# Is this test being run on a version of Ruby built with mingw?
|
||||
|
||||
def self.mingw_windows?
|
||||
RUBY_PLATFORM.match("mingw")
|
||||
end
|
||||
|
||||
##
|
||||
# see ::mingw_windows?
|
||||
|
||||
def mingw_windows?
|
||||
self.class.mingw_windows?
|
||||
RUBY_PLATFORM.match("mingw")
|
||||
end
|
||||
|
||||
##
|
||||
|
|
Загрузка…
Ссылка в новой задаче