Sha256: d34ab665ad14c71a968e9cff13abcee31a9827dac586a90e808fd6c026921d76

Contents?: true

Size: 221 Bytes

Versions: 16

Compression:

Stored size: 221 Bytes

Contents

require 'cachy/wrapper'

# Wrapper for Moneta http://github.com/wycats/moneta/tree/master
class Cachy::MonetaWrapper < Cachy::Wrapper
  def write(key, result, options={})
    @wrapped.store(key, result, options)
  end
end

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
cachy-0.4.2 lib/cachy/moneta_wrapper.rb
cachy-0.4.1 lib/cachy/moneta_wrapper.rb
grosser-cachy-0.1.0 lib/cachy/moneta_wrapper.rb
grosser-cachy-0.1.1 lib/cachy/moneta_wrapper.rb
grosser-cachy-0.1.2 lib/cachy/moneta_wrapper.rb
cachy-0.4.0 lib/cachy/moneta_wrapper.rb
cachy-0.3.1 lib/cachy/moneta_wrapper.rb
cachy-0.3.0 lib/cachy/moneta_wrapper.rb
cachy-0.2.1 lib/cachy/moneta_wrapper.rb
cachy-0.2.0 lib/cachy/moneta_wrapper.rb
cachy-0.1.7 lib/cachy/moneta_wrapper.rb
cachy-0.1.6 lib/cachy/moneta_wrapper.rb
cachy-0.1.5 lib/cachy/moneta_wrapper.rb
cachy-0.1.4 lib/cachy/moneta_wrapper.rb
cachy-0.1.3 lib/cachy/moneta_wrapper.rb
cachy-0.1.2 lib/cachy/moneta_wrapper.rb