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