Sha256: 900a658dd51b0caa156b387715848175b583ce8ffa60eec9b8a06be56d666775
Contents?: true
Size: 393 Bytes
Versions: 2
Compression:
Stored size: 393 Bytes
Contents
require 'mini_cache' module Tochtli module Test # a simple proxy to replicate ActiveSupport cache interface using mini store class MemoryCache attr_reader :store def initialize @store = MiniCache::Store.new end def write(name, value) store.set(name, value) end def read(name) store.get(name) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tochtli-0.5.1 | lib/tochtli/test/memory_cache.rb |
tochtli-0.5.0 | lib/tochtli/test/memory_cache.rb |