eaiovnaovbqoebvqoeavibavo usr/share/gems/gems/rdoc-4.0.0/lib/rdoc/ri.rb000064400000000473147635651310014404 0ustar00require 'rdoc' ## # Namespace for the ri command line tool's implementation. # # See ri --help for details. module RDoc::RI ## # Base RI error class class Error < RDoc::Error; end autoload :Driver, 'rdoc/ri/driver' autoload :Paths, 'rdoc/ri/paths' autoload :Store, 'rdoc/ri/store' end usr/share/gems/gems/rdoc-4.0.0/lib/rdoc/generator/ri.rb000064400000000662147636117310016370 0ustar00## # Generates ri data files class RDoc::Generator::RI RDoc::RDoc.add_generator self ## # Description of this generator DESCRIPTION = 'creates ri data files' ## # Set up a new ri generator def initialize store, options #:not-new: @options = options @store = store @store.path = '.' end ## # Writes the parsed data store to disk for use by ri. def generate @store.save end end