Class: Cachy::MonetaWrapper
- Defined in:
- lib/cachy/moneta_wrapper.rb
Overview
Wrapper for Moneta github.com/wycats/moneta/tree/master
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, ={}) @wrapped.store(key, result, ) end |