diff options
author | Hiroshi SHIBATA <[email protected]> | 2023-03-16 12:55:30 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2023-03-17 18:50:55 +0900 |
commit | 83f9aa8f02c9fdcf8d22f0859c4f4fb3ad30bb42 (patch) | |
tree | 0960c81245f3f30debb003255800f33901e168f3 /lib/rubygems/commands/query_command.rb | |
parent | f4d1f660d0c60072813fa46b0e704561ff8e20fe (diff) |
[rubygems/rubygems] util/rubocop -A --only Style/Alias
https://github.com/rubygems/rubygems/commit/fba6e94de9
Diffstat (limited to 'lib/rubygems/commands/query_command.rb')
-rw-r--r-- | lib/rubygems/commands/query_command.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/commands/query_command.rb b/lib/rubygems/commands/query_command.rb index c6315acf8c..9d57d0c87e 100644 --- a/lib/rubygems/commands/query_command.rb +++ b/lib/rubygems/commands/query_command.rb @@ -9,7 +9,7 @@ class Gem::Commands::QueryCommand < Gem::Command include Gem::QueryUtils - alias warning_without_suggested_alternatives deprecation_warning + alias_method :warning_without_suggested_alternatives, :deprecation_warning def deprecation_warning warning_without_suggested_alternatives |