diff options
author | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-16 04:59:24 +0000 |
---|---|---|
committer | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-16 04:59:24 +0000 |
commit | b7528b5edb1f9148ea00ebb6151720e5943b3f0b (patch) | |
tree | 4caf55c53adb188170240f54b924892fbc5f9814 /lib/rdoc/generator/ri.rb | |
parent | 97ac172d58d695305c39d555155318edb99f1ea7 (diff) |
* lib/rdoc.rb: Import RDoc 3.7 release candidate
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc/generator/ri.rb')
-rw-r--r-- | lib/rdoc/generator/ri.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/rdoc/generator/ri.rb b/lib/rdoc/generator/ri.rb index e02805e40f..939a165cfb 100644 --- a/lib/rdoc/generator/ri.rb +++ b/lib/rdoc/generator/ri.rb @@ -18,11 +18,12 @@ class RDoc::Generator::RI def initialize options #:not-new: @options = options - @store = RDoc::RI::Store.new '.' @old_siginfo = nil @current = nil - @store.dry_run = @options.dry_run + @store = RDoc::RI::Store.new '.' + @store.dry_run = @options.dry_run + @store.encoding = @options.encoding if @options.respond_to? :encoding end ## |