diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-03-16 12:57:49 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-03-17 18:50:55 +0900 |
commit | 5211900d37573a82c1bdf7cb2354937cc4022ae1 (patch) | |
tree | 4951c15df9b302437b4ff173fe30fb5e211bd1fb /lib/rubygems/commands/uninstall_command.rb | |
parent | b304cf324aed40977665ddcfcec7cc992feb949b (diff) |
util/rubocop -A --only Style/SymbolProc
Diffstat (limited to 'lib/rubygems/commands/uninstall_command.rb')
-rw-r--r-- | lib/rubygems/commands/uninstall_command.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/commands/uninstall_command.rb b/lib/rubygems/commands/uninstall_command.rb index aa05cda2c8..74c11dd64b 100644 --- a/lib/rubygems/commands/uninstall_command.rb +++ b/lib/rubygems/commands/uninstall_command.rb @@ -137,7 +137,7 @@ that is a dependency of an existing gem. You can use the end def uninstall_all - specs = Gem::Specification.reject {|spec| spec.default_gem? } + specs = Gem::Specification.reject(&:default_gem?) specs.each do |spec| options[:version] = spec.version |