Sha256: eb68fdab940cdba4ceddfa10da9c369711db4e66d65e34084a44bf14e2562db0
Contents?: true
Size: 223 Bytes
Versions: 2
Compression:
Stored size: 223 Bytes
Contents
module Rhinestone class InMemoryCacheBackend attr_reader :data def initialize @data = {} end def set(key, value) data[key] = value end def get(key) data[key] end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rhinestone-0.0.2 | lib/rhinestone/in_memory_cache_backend.rb |
rhinestone-0.0.1 | lib/rhinestone/in_memory_cache_backend.rb |