Commit 729bd07
committed
fix(options):
This change workarounds the issue that `RDoc::Options.new` does not
work itself without calling `parse` since some important setup logic
lives in it.
I believe we can improve this a lot by moving default option setup
in `initialize`, for example, but it takes time.
This usage of `RDoc::Options.new` is documented in README, and
I believe this workaround solves it quickly and well enough.RDoc::Options needs to call parse for its setup1 parent 1e3ed08 commit 729bd07
2 files changed
+12
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
442 | 442 | | |
443 | 443 | | |
444 | 444 | | |
445 | | - | |
| 445 | + | |
446 | 446 | | |
447 | 447 | | |
448 | 448 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
17 | 28 | | |
18 | 29 | | |
19 | 30 | | |
| |||
0 commit comments