summaryrefslogtreecommitdiff
path: root/lib/rubygems/install_update_options.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <[email protected]>2023-03-15 18:06:15 +0900
committergit <[email protected]>2023-03-16 01:59:11 +0000
commit760b8b7d2413670808499eb972abe61400fe6b46 (patch)
treec6cc680f426761b39f202ae72e705a5118573955 /lib/rubygems/install_update_options.rb
parent61831806030612c3a8577d88945b478262ee88f7 (diff)
[rubygems/rubygems] Change enforce style with Layout/CaseIndentation on rubygems
https://github.com/rubygems/rubygems/commit/d4938259c4
Diffstat (limited to 'lib/rubygems/install_update_options.rb')
-rw-r--r--lib/rubygems/install_update_options.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/rubygems/install_update_options.rb b/lib/rubygems/install_update_options.rb
index 79effcf21f..d47701de10 100644
--- a/lib/rubygems/install_update_options.rb
+++ b/lib/rubygems/install_update_options.rb
@@ -35,9 +35,9 @@ module Gem::InstallUpdateOptions
"List the documentation types you wish to",
"generate. For example: rdoc,ri") do |value, options|
options[:document] = case value
- when nil then %w[ri]
- when false then []
- else value
+ when nil then %w[ri]
+ when false then []
+ else value
end
end