Sha256: 7d675b589718f173eaa0c1b96b12eda378ca9cde63c8a7965cff738da7a6bf33
Contents?: true
Size: 292 Bytes
Versions: 1
Compression:
Stored size: 292 Bytes
Contents
class SparaMem def initialize @store = {} end def set(key, value) @store[key] = value end def get(key) @store[key] end def del(key) @store.delete(key) end def keys @store.keys end def vals @store.values end def all @store end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
spara-0.0.1 | lib/spara/spara_mem.rb |