summaryrefslogtreecommitdiff
path: root/lib/rdoc/options.rb
diff options
context:
space:
mode:
authorStan Lo <[email protected]>2024-07-17 21:42:58 +0100
committergit <[email protected]>2024-07-17 20:43:08 +0000
commit239d54dfbce0f38cf4d31fa252b4d9bd65477bac (patch)
treee45982071e39c601d1e200015d71fae2c81876f1 /lib/rdoc/options.rb
parent573c2893dce90c3254bfcb496be74b652d1cae29 (diff)
[ruby/rdoc] Improve rubocop setup
(https://github.com/ruby/rdoc/pull/1139) * Rename rake rubocop to rake format_generated_files * Add rubocop rules to ensure spaces are applied consistently * Improve rubocop related CI workflows https://github.com/ruby/rdoc/commit/27932d001c
Diffstat (limited to 'lib/rdoc/options.rb')
-rw-r--r--lib/rdoc/options.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rdoc/options.rb b/lib/rdoc/options.rb
index 7518e6cc54..c8fca4a262 100644
--- a/lib/rdoc/options.rb
+++ b/lib/rdoc/options.rb
@@ -683,7 +683,7 @@ Usage: #{opt.program_name} [options] [names...]
EOF
- parsers = Hash.new { |h,parser| h[parser] = [] }
+ parsers = Hash.new { |h, parser| h[parser] = [] }
RDoc::Parser.parsers.each do |regexp, parser|
parsers[parser.name.sub('RDoc::Parser::', '')] << regexp.source