Permalink
Browse files

Set defaults to sane values.

  • Loading branch information...
1 parent a3ad831 commit eaac8a66363e629bbf67894b2063b7706a8c790c drbrain committed Sep 24, 2008
Showing with 8 additions and 0 deletions.
  1. +8 −0 lib/rdoc/ri/driver.rb
@@ -315,8 +315,16 @@ def self.run(argv = ARGV)
def initialize(options={})
@names = options[:names]
+ options[:formatter] ||= RDoc::RI::Formatter
+
@class_cache_name = 'classes'
+ options[:use_system] = true
+ options[:use_site] = true
+ options[:use_home] = true
+ options[:use_gems] = true
+ options[:use_cache] = true
+
@doc_dirs = RDoc::RI::Paths.path(options[:use_system],
options[:use_site],
options[:use_home],

0 comments on commit eaac8a6

Please sign in to comment.