method

new

v1_9_1_378 - Show latest stable - Class: RDoc::RI::Cache
new(dirs)
public

No documentation available.

# File lib/rdoc/ri/cache.rb, line 177
  def initialize(dirs)
    # At the top level we have a dummy module holding the
    # overall namespace
    @toplevel = RDoc::RI::TopLevelEntry.new('', '::', nil)

    dirs.each do |dir|
      @toplevel.load_from(dir)
    end
  end