diff options
author | Hiroshi SHIBATA <[email protected]> | 2023-03-16 12:21:48 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2023-03-17 18:50:55 +0900 |
commit | b304cf324aed40977665ddcfcec7cc992feb949b (patch) | |
tree | 985f0c5428a72efe11e57445078f69b0177254c4 /lib/rubygems/user_interaction.rb | |
parent | 03736159484cb7f9eeaaed3737beec924a175679 (diff) |
util/rubocop -A --only Layout/ParameterAlignment
Diffstat (limited to 'lib/rubygems/user_interaction.rb')
-rw-r--r-- | lib/rubygems/user_interaction.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/rubygems/user_interaction.rb b/lib/rubygems/user_interaction.rb index 45b57ef33e..12592e4db2 100644 --- a/lib/rubygems/user_interaction.rb +++ b/lib/rubygems/user_interaction.rb @@ -424,8 +424,7 @@ class Gem::StreamUI # +size+ items. Shows the given +initial_message+ when progress starts # and the +terminal_message+ when it is complete. - def initialize(out_stream, size, initial_message, - terminal_message = "complete") + def initialize(out_stream, size, initial_message, terminal_message = "complete") @out = out_stream @total = size @count = 0 @@ -467,8 +466,7 @@ class Gem::StreamUI # +size+ items. Shows the given +initial_message+ when progress starts # and the +terminal_message+ when it is complete. - def initialize(out_stream, size, initial_message, - terminal_message = "complete") + def initialize(out_stream, size, initial_message, terminal_message = "complete") @out = out_stream @total = size @count = 0 |