Files

Class/Module Index [+]

Quicksearch

Rack::Cache::MetaStore::Moneta

@api public

Public Class Methods

new(cache) click to toggle source
# File lib/rack/cache/moneta.rb, line 38
def initialize(cache)
  @cache = cache
end

Public Instance Methods

purge(key) click to toggle source
# File lib/rack/cache/moneta.rb, line 50
def purge(key)
  @cache.delete(key)
  nil
end
read(key) click to toggle source
# File lib/rack/cache/moneta.rb, line 42
def read(key)
  @cache[key] || []
end
write(key, entries) click to toggle source
# File lib/rack/cache/moneta.rb, line 46
def write(key, entries)
  @cache[key] = entries
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.