Sha256: da3f1e70637e5c070edd4dedc5728ca3c47c3b45fe1b4f2a1aee0e07c16cdd10
Contents?: true
Size: 235 Bytes
Versions: 4
Compression:
Stored size: 235 Bytes
Contents
module Lux::Cache::NullCache extend self def set(key, data, ttl=nil) data end def get(key) nil end def fetch(key, ttl=nil) yield end def delete(key) nil end def get_multi(*args) {} end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
lux-fw-0.2.3 | ./lib/lux/cache/lib/null.rb |
lux-fw-0.2.1 | ./lib/lux/cache/lib/null.rb |
lux-fw-0.1.35 | ./lib/lux/cache/lib/null.rb |
lux-fw-0.1.17 | ./lib/lux/cache/lib/null.rb |