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