Class: Cachy::MonetaWrapper

Inherits:
Wrapper
  • Object
show all
Defined in:
lib/cachy/moneta_wrapper.rb

Overview

Instance Method Summary collapse

Methods inherited from Wrapper

#initialize, #method_missing, #read, #respond_to?

Constructor Details

This class inherits a constructor from Cachy::Wrapper

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Cachy::Wrapper

Instance Method Details

#write(key, result, options = {}) ⇒ Object



5
6
7
# File 'lib/cachy/moneta_wrapper.rb', line 5

def write(key, result, options={})
  @wrapped.store(key, result, options)
end