Sha256: f3b4dee1b3557ea33f9397e860763656f07be5c38638ed54f820afd4980f5ed1
Contents?: true
Size: 373 Bytes
Versions: 2
Compression:
Stored size: 373 Bytes
Contents
module DeloreanTestBed 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
delorean_test_bed-0.0.4 | lib/delorean_test_bed/cache.rb |
delorean_test_bed-0.0.3 | lib/delorean_test_bed/cache.rb |