aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rubygems/install_update_options.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-05-03 19:56:58 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-03-30 12:48:23 +0900
commit061add792e658878c839887682716737d9f6d677 (patch)
treeb111148a604c7f2ab09f26b1804a2725d7c19680 /lib/rubygems/install_update_options.rb
parentc16815cca7c223698c11b4c520b75caeb0499f93 (diff)
downloadruby-061add792e658878c839887682716737d9f6d677.tar.gz
[rubygems/rubygems] Enable `Style/ExtraSpacing` and auto-correct
https://github.com/rubygems/rubygems/commit/6fa0b1b679
Diffstat (limited to 'lib/rubygems/install_update_options.rb')
-rw-r--r--lib/rubygems/install_update_options.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rubygems/install_update_options.rb b/lib/rubygems/install_update_options.rb
index dbf787c7ba..65c2f300ed 100644
--- a/lib/rubygems/install_update_options.rb
+++ b/lib/rubygems/install_update_options.rb
@@ -30,7 +30,7 @@ module Gem::InstallUpdateOptions
options[:bin_dir] = File.expand_path(value)
end
- add_option(:"Install/Update", '--document [TYPES]', Array,
+ add_option(:"Install/Update", '--document [TYPES]', Array,
'Generate documentation for installed gems',
'List the documentation types you wish to',
'generate. For example: rdoc,ri') do |value, options|
@@ -88,7 +88,7 @@ module Gem::InstallUpdateOptions
options[:ignore_dependencies] = value
end
- add_option(:"Install/Update", '--[no-]format-executable',
+ add_option(:"Install/Update", '--[no-]format-executable',
'Make installed executable names match Ruby.',
'If Ruby is ruby18, foo_exec will be',
'foo_exec18') do |value, options|