Sha256: 2c23a7054566e8042e6d3f90f7621c093710fd5031c4d15635caac0169332ce8
Contents?: true
Size: 332 Bytes
Versions: 4
Compression:
Stored size: 332 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 end end end
Version data entries
4 entries across 4 versions & 1 rubygems