Sha256: 2dc4d6cde5e4c7fed104a0a706d5315ed340269e667f000fad6525d652c37a80
Contents?: true
Size: 337 Bytes
Versions: 2
Compression:
Stored size: 337 Bytes
Contents
module Catche module Expire module Views class << self # Expires cache by deleting the associated keys # # Catche::Expire::View.expire!('projects') def expire!(*keys) keys.each do |key| Catche.adapter.delete key end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
catche-0.2.5 | lib/catche/expire/views.rb |
catche-0.2.4 | lib/catche/expire/views.rb |