123456789_123456789_123456789_123456789_123456789_

Class: RDoc::Generator::RI

Relationships & Source Files
Inherits: Object
Defined in: lib/rdoc/generator/ri.rb

Overview

Generates ri data files

Constant Summary

Class Method Summary

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

[ GitHub ]

  
# File 'lib/rdoc/generator/ri.rb', line 17

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

Instance Method Details

#generate

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

[ GitHub ]

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

def generate
  @store.save
end