summaryrefslogtreecommitdiff
path: root/lib/rdoc/rdoc.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2021-09-15 17:26:14 +0900
committergit <[email protected]>2022-02-12 16:15:08 +0900
commit3b3fb73d6107f64b4c71472de36c4debaf41cd42 (patch)
tree3d932694b9364b59ae10622a739a227f92b7008f /lib/rdoc/rdoc.rb
parent11f3882173e1efbc62a3a5bb667acf69ec7e8161 (diff)
[ruby/rdoc] Dump plain objects as `RDoc::Options`
So that the generated `.rdoc_options` file is loadable. https://github.com/ruby/rdoc/commit/6cf6e1647b
Diffstat (limited to 'lib/rdoc/rdoc.rb')
-rw-r--r--lib/rdoc/rdoc.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rdoc/rdoc.rb b/lib/rdoc/rdoc.rb
index ca48f2de81..400f9b5bc3 100644
--- a/lib/rdoc/rdoc.rb
+++ b/lib/rdoc/rdoc.rb
@@ -440,11 +440,11 @@ The internal error was:
if RDoc::Options === options then
@options = options
- @options.finish
else
@options = RDoc::Options.load_options
@options.parse options
end
+ @options.finish
if @options.pipe then
handle_pipe