method

write_cache

v1_9_1_378 - Show latest stable - Class: RDoc::RI::Driver
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