Sha256: 815b320ed50e9f37b395f09dae2002b136c247146227465570688ea59403c027
Contents?: true
Size: 373 Bytes
Versions: 5
Compression:
Stored size: 373 Bytes
Contents
module Padrino module Cache module Helpers module CacheStore def expire(*key) if key.size == 1 and key.first.is_a?(String) self.class.cache_store.delete(key) else self.class.cache_store.delete(self.class.url(*key)) end end end # CacheStore end # Helpers end # Cache end # Padrino
Version data entries
5 entries across 5 versions & 1 rubygems