class Cachy::MemcachedWrapper

Public Instance Methods

read(key) click to toggle source
# File lib/cachy/memcached_wrapper.rb, line 4
def read(key)
  @wrapped.get(key)
end
write(key, result, options={}) click to toggle source
# File lib/cachy/memcached_wrapper.rb, line 8
def write(key, result, options={})
  @wrapped.set(key, result, options[:expires_in].to_i)
end