Module: RUtilAnts::URLCache

Defined in:
lib/rUtilAnts/URLCache.rb

Defined Under Namespace

Modules: URLCacheInterface Classes: ServerDownError, URLCache

Class Method Summary collapse

Class Method Details

.install_url_cache_on_objectObject

Initialize a global cache



115
116
117
118
119
# File 'lib/rUtilAnts/URLCache.rb', line 115

def self.install_url_cache_on_object
  require 'rUtilAnts/SingletonProxy'
  RUtilAnts::make_singleton_proxy(RUtilAnts::URLCache::URLCacheInterface, Object)
  init_url_cache
end