| Class | Moneta::Cache |
| In: |
lib/moneta/cache.rb
|
| Parent: | Object |
Combines two stores. One is used as cache, the other as backend adapter.
@example Add `Moneta::Cache` to proxy stack
Moneta.build do
use(:Cache) do
adapter { adapter :File, :dir => 'data' }
cache { adapter :Memory }
end
end
@api public