mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
[ruby/rdoc] Dump plain objects as RDoc::Options
So that the generated `.rdoc_options` file is loadable.
6cf6e1647b
This commit is contained in:
parent
11f3882173
commit
3b3fb73d61
4 changed files with 59 additions and 33 deletions
|
@ -254,6 +254,7 @@ class TestRDocRDoc < RDoc::TestCase
|
|||
top_level = nil
|
||||
temp_dir do |dir|
|
||||
@rdoc.options.parse %W[--root #{test_path}]
|
||||
@rdoc.options.finish
|
||||
|
||||
File.open 'include.txt', 'w' do |io|
|
||||
io.puts ':include: test.txt'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue