Sha256: 67648a9a8bacd8dec54918c1141177e9993acfe1c922755fe0ca94c1dd6ccb8c
Contents?: true
Size: 199 Bytes
Versions: 6
Compression:
Stored size: 199 Bytes
Contents
require 'cachy/wrapper' # Wrapper for Memcached class Cachy::MemcachedWrapper < Cachy::Wrapper def write(key, result, options={}) @wrapped.set(key, result, options[:expires_in].to_i) end end
Version data entries
6 entries across 6 versions & 2 rubygems