util/rubocop -A --only Style/SymbolProc

This commit is contained in:
Hiroshi SHIBATA 2023-03-16 12:57:49 +09:00
parent b304cf324a
commit 5211900d37
61 changed files with 239 additions and 295 deletions

View file

@ -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