1## 2# Generates ri data files 3 4class RDoc::Generator::RI 5 6 RDoc::RDoc.add_generator self 7 8 ## 9 # Description of this generator 10 11 DESCRIPTION = 'creates ri data files' 12 13 ## 14 # Set up a new ri generator 15 16 def initialize store, options #:not-new: 17 @options = options 18 @store = store 19 @store.path = '.' 20 end 21 22 ## 23 # Writes the parsed data store to disk for use by ri. 24 25 def generate 26 @store.save 27 end 28 29end 30 31