diff options
| author | Stan Lo <stan001212@gmail.com> | 2024-07-17 21:42:58 +0100 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2024-07-17 20:43:08 +0000 |
| commit | 239d54dfbce0f38cf4d31fa252b4d9bd65477bac (patch) | |
| tree | e45982071e39c601d1e200015d71fae2c81876f1 /lib/rdoc/generator | |
| parent | 573c2893dce90c3254bfcb496be74b652d1cae29 (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/generator')
| -rw-r--r-- | lib/rdoc/generator/pot/message_extractor.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rdoc/generator/pot/message_extractor.rb b/lib/rdoc/generator/pot/message_extractor.rb index 313dfd2dc7..4938858bdc 100644 --- a/lib/rdoc/generator/pot/message_extractor.rb +++ b/lib/rdoc/generator/pot/message_extractor.rb @@ -29,7 +29,7 @@ class RDoc::Generator::POT::MessageExtractor extract_text(klass.comment_location, klass.full_name) klass.each_section do |section, constants, attributes| - extract_text(section.title ,"#{klass.full_name}: section title") + extract_text(section.title, "#{klass.full_name}: section title") section.comments.each do |comment| extract_text(comment, "#{klass.full_name}: #{section.title}") end |
