[rubygems/rubygems] util/rubocop -A --only Lint/UnusedBlockArgument

d8efd919db
This commit is contained in:
Hiroshi SHIBATA 2023-03-16 10:46:45 +09:00
parent 7ab4ede4f5
commit 05208c3875
33 changed files with 77 additions and 77 deletions

View file

@ -20,19 +20,19 @@ class Gem::Commands::SpecificationCommand < Gem::Command
add_prerelease_option
add_option("--all", "Output specifications for all versions of",
"the gem") do |value, options|
"the gem") do |_value, options|
options[:all] = true
end
add_option("--ruby", "Output ruby format") do |value, options|
add_option("--ruby", "Output ruby format") do |_value, options|
options[:format] = :ruby
end
add_option("--yaml", "Output YAML format") do |value, options|
add_option("--yaml", "Output YAML format") do |_value, options|
options[:format] = :yaml
end
add_option("--marshal", "Output Marshal format") do |value, options|
add_option("--marshal", "Output Marshal format") do |_value, options|
options[:format] = :marshal
end