diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-03-16 12:22:51 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-03-17 18:50:55 +0900 |
commit | ae81ff0c9b120d1d2ee4b0d1400cf1358c81f86f (patch) | |
tree | e88cdb62e766b84de27d1f305ab5b31da48ad6e6 /lib/rubygems/commands/dependency_command.rb | |
parent | 9a1269eaaa4b50e0d9e95041a76090e7c6f09313 (diff) |
[rubygems/rubygems] util/rubocop -A --only Layout/MultilineBlockLayout
https://github.com/rubygems/rubygems/commit/9aa6101942
Diffstat (limited to 'lib/rubygems/commands/dependency_command.rb')
-rw-r--r-- | lib/rubygems/commands/dependency_command.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/rubygems/commands/dependency_command.rb b/lib/rubygems/commands/dependency_command.rb index 3f69a95e83..a5870e9106 100644 --- a/lib/rubygems/commands/dependency_command.rb +++ b/lib/rubygems/commands/dependency_command.rb @@ -17,8 +17,7 @@ class Gem::Commands::DependencyCommand < Gem::Command add_prerelease_option add_option("-R", "--[no-]reverse-dependencies", - "Include reverse dependencies in the output") do - |value, options| + "Include reverse dependencies in the output") do |value, options| options[:reverse_dependencies] = value end |