Sha256: 5eb5b9f90cfff7e246f5c9bcb85e10209574432bdd4db005737b60de1dbe51ef

Contents?: true

Size: 175 Bytes

Versions: 7

Compression:

Stored size: 175 Bytes

Contents

require 'cachy/wrapper'

class Cachy::MemcachedWrapper < Cachy::Wrapper
  def write(key, result, options={})
    @wrapped.set(key, result, options[:expires_in].to_i)
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
cachy-0.3.1 lib/cachy/memcached_wrapper.rb
cachy-0.3.0 lib/cachy/memcached_wrapper.rb
cachy-0.2.1 lib/cachy/memcached_wrapper.rb
cachy-0.2.0 lib/cachy/memcached_wrapper.rb
cachy-0.1.7 lib/cachy/memcached_wrapper.rb
cachy-0.1.6 lib/cachy/memcached_wrapper.rb
cachy-0.1.5 lib/cachy/memcached_wrapper.rb