Class: RDoc::Generator::RI
Relationships & Source Files | |
Inherits: | Object |
Defined in: | lib/rdoc/generator/ri.rb |
Overview
Generates ri data files
Constant Summary
-
DESCRIPTION =
Description of this generator
'creates ri data files'
Class Method Summary
-
.new(store, options) ⇒ RI
constructor
Set up a new ri generator.
Instance Method Summary
-
#generate
Writes the parsed data store to disk for use by ri.
Constructor Details
.new(store, options) ⇒ RI
Set up a new ri generator
# File 'lib/rdoc/generator/ri.rb', line 16
def initialize store, #:not-new: @options = @store = store @store.path = '.' end
Instance Method Details
#generate
Writes the parsed data store to disk for use by ri.
# File 'lib/rdoc/generator/ri.rb', line 25
def generate @store.save end