method

write_cache

ruby latest stable - Class: RDoc::RI::Driver

Method deprecated or moved

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

write_cache(cache, path)
public

No documentation available.

# File lib/rdoc/ri/driver.rb, line 659
  def write_cache(cache, path)
    if(@use_cache)
      File.open path, "wb" do |cache_file|
        Marshal.dump cache, cache_file
      end
    end

    cache
  end