Class: Moneta::Memory
- Inherits:
-
Hash
- Object
- Hash
- Moneta::Memory
- Includes:
- Expires
- Defined in:
- lib/moneta/memory.rb
Instance Method Summary collapse
-
#initialize(*args) ⇒ Memory
constructor
A new instance of Memory.
Methods included from Expires
#[], #check_expired, #delete, #fetch, #key?, #store, #update_key
Constructor Details
#initialize(*args) ⇒ Memory
Returns a new instance of Memory.
5 6 7 8 |
# File 'lib/moneta/memory.rb', line 5 def initialize(*args) @expiration = {} super end |