module Rack::Identicon::Caching::ClassMethods

Attributes

cache_store[RW]

Public Instance Methods

cache(key, &blk) click to toggle source
# File lib/rack/identicon/caching.rb, line 31
def cache key, &blk
  cache_store.fetch NAMESPACE + "/" + key, &blk
end