Sha256: 54447d113aa000f5ffa0d6eedc9132324cd83e06da9ed7769eceec8acbcb724c
Contents?: true
Size: 307 Bytes
Versions: 13
Compression:
Stored size: 307 Bytes
Contents
class TestCache def initialize @data = {} end def read(name) @data[name] end def write(name, value, options = nil) @data[name] = value.freeze end def delete(name, options = nil) @data.delete(name) end def clear @data.clear end def keys @data.keys end end
Version data entries
13 entries across 13 versions & 2 rubygems