mirror of
https://github.com/ruby/ruby.git
synced 2025-08-24 05:25:34 +02:00
[rubygems/rubygems] util/rubocop -A --only Lint/UnusedBlockArgument
d8efd919db
This commit is contained in:
parent
7ab4ede4f5
commit
05208c3875
33 changed files with 77 additions and 77 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue