[rubygems/rubygems] Removed unnecessary disabling of Lint/DuplicateMethods
https://github.com/rubygems/rubygems/commit/225fdf0b2e
This commit is contained in:
parent
2c219ab215
commit
503b9bf1d4
@ -2340,7 +2340,7 @@ end
|
||||
ensure
|
||||
File.class_eval do
|
||||
remove_method :write
|
||||
alias_method :write, :original_write # rubocop:disable Lint/DuplicateMethods
|
||||
alias_method :write, :original_write
|
||||
remove_method :original_write
|
||||
end
|
||||
end
|
||||
|
@ -71,7 +71,7 @@ class TestGemPlatform < Gem::TestCase
|
||||
Gem.platforms = platforms
|
||||
class << Gem::Platform
|
||||
remove_method :match_gem?
|
||||
alias_method :match_gem?, :original_match_gem? # rubocop:disable Lint/DuplicateMethods
|
||||
alias_method :match_gem?, :original_match_gem?
|
||||
remove_method :original_match_gem?
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user