Skip to content

Commit 33681f0

Browse files
committed
Set defaults to sane values.
1 parent 424e6d4 commit 33681f0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

lib/rdoc/ri/driver.rb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,8 +315,16 @@ def self.run(argv = ARGV)
315315
def initialize(options={})
316316
@names = options[:names]
317317

318+
options[:formatter] ||= RDoc::RI::Formatter
319+
318320
@class_cache_name = 'classes'
319321

322+
options[:use_system] = true
323+
options[:use_site] = true
324+
options[:use_home] = true
325+
options[:use_gems] = true
326+
options[:use_cache] = true
327+
320328
@doc_dirs = RDoc::RI::Paths.path(options[:use_system],
321329
options[:use_site],
322330
options[:use_home],

0 commit comments

Comments
 (0)