Skip to content

Commit

Permalink
[rubygems/rubygems] Removed self.mingw_windows?, It's not used rubygems
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt authored and matzbot committed Apr 5, 2023
1 parent 28d6c6d commit bf8afe4
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions test/rubygems/helper.rb
Expand Up @@ -1177,15 +1177,8 @@ def vc_windows?
##
# 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

##
Expand Down

0 comments on commit bf8afe4

Please sign in to comment.