Methods

Files

Padrino::Cache::Helpers::CacheStore

Public Instance Methods

expire(*key) click to toggle source

@api private

# File lib/padrino-cache/helpers/cache_store.rb, line 7
def expire(*key)
  if key.size == 1 and key.first.is_a?(String)
    settings.cache.delete(key)
  else
    settings.cache.delete(self.class.url(*key))
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.