Class OpenURI::Cache
In: lib/open-uri/cached.rb
Parent: Object

Methods

filename_from_url   get   mkpath   set  

Public Class methods

Retrieve file content and meta data from cache @param [String] key @return [StringIO]

Cache file content and metadata @param [String] key

  URL of content to be cached

@param [StringIO] value

  value to be cached, typically StringIO returned from `original_open_uri`

@return [StringIO]

  Returns value

Protected Class methods

[Validate]