Class: RDoc::Generator::RI

Inherits:
Object
  • Object
show all
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

Constructor Details

#initialize(store, options) ⇒ RI

Set up a new ri generator


16
17
18
19
20
# File 'lib/rdoc/generator/ri.rb', line 16

def initialize store, options #:not-new:
  @options    = options
  @store      = store
  @store.path = '.'
end

Instance Method Details

#generateObject

Writes the parsed data store to disk for use by ri.


25
26
27
# File 'lib/rdoc/generator/ri.rb', line 25

def generate
  @store.save
end