Rack::Cache::MetaStore
TODO: Finally deal with the RAILS_CACHE global
# File lib/action_dispatch/http/rack_cache.rb, line 12 12: def initialize(store = RAILS_CACHE) 13: @store = store 14: end
# File lib/action_dispatch/http/rack_cache.rb, line 7 7: def self.resolve(uri) 8: new 9: end
# File lib/action_dispatch/http/rack_cache.rb, line 16 16: def read(key) 17: if data = @store.read(key) 18: Marshal.load(data) 19: else 20: [] 21: end 22: end
# File lib/action_dispatch/http/rack_cache.rb, line 24 24: def write(key, value) 25: @store.write(key, Marshal.dump(value)) 26: end
Disabled; run with --debug to generate this.
[Validate]
Generated with the Darkfish Rdoc Generator 1.1.6.