Class: RUtilAnts::URLCache::URLCache

Inherits:
Object
  • Object
show all
Includes:
URLCacheInterface
Defined in:
lib/rUtilAnts/URLCache.rb

Overview

Class that caches every access to a URI (local file name, http, data…). This ensures just that several files are instantiated just once. For local files, it takes into account the file modification date/time to know if the Wx::Bitmap file has to be refreshed.

Instance Method Summary collapse

Methods included from URLCacheInterface

#get_url_content, #init_url_cache

Constructor Details

#initializeURLCache

Constructor



108
109
110
# File 'lib/rUtilAnts/URLCache.rb', line 108

def initialize
  init_url_cache
end