method

new

ruby latest stable - Class: RI::RiCache

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_8_7_330) is shown here.

new(dirs)
public

No documentation available.

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

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