Sha256: f5c42962c5f2056febf07290461485a927145c65c669dbfacfb16b81217ce93a
Contents?: true
Size: 366 Bytes
Versions: 1
Compression:
Stored size: 366 Bytes
Contents
module Delorean def self.cache Cache end class Cache # Set our own cache or read the setup one def self.cache ActiveSupport::Cache.lookup_store(Rails.application.config.cache_store) end # def self.write(k,v) cache.write([:delorean,:key],v) end def self.read(k) cache.read([:delorean,:key]) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
delorean_test_bed-0.0.2 | lib/delorean/cache.rb |