Class: Moneta::Adapters::Memory
- Inherits:
-
Moneta::Adapter
- Object
- Moneta::Adapter
- Moneta::Adapters::Memory
- Includes:
- CreateSupport, EachKeySupport, HashAdapter, IncrementSupport, NilValues
- Defined in:
- lib/moneta/adapters/memory.rb
Overview
Memory backend using a hash to store the entries
Direct Known Subclasses
Instance Attribute Summary
Attributes included from HashAdapter
Attributes inherited from Moneta::Adapter
Instance Method Summary collapse
- #initialize(options = {}) ⇒ Object constructor
Methods included from EachKeySupport
Methods included from CreateSupport
Methods included from IncrementSupport
Methods included from HashAdapter
#clear, #delete, #fetch_values, #key?, #load, #merge!, #slice, #store, #values_at
Methods included from NilValues
#fetch_values, #merge!, #slice
Methods inherited from Moneta::Adapter
backend, backend_block, backend_required?
Methods included from Config
Methods included from Defaults
#[], #[]=, #close, #create, #decrement, #each_key, #features, #fetch, #fetch_values, included, #increment, #key?, #merge!, #slice, #supports?, #update, #values_at
Methods included from OptionSupport
#expires, #prefix, #raw, #with
Constructor Details
#initialize(options = {}) ⇒ Object
15 |
# File 'lib/moneta/adapters/memory.rb', line 15 backend { {} } |