Class: Moneta::Memory

Inherits:
Hash
  • Object
show all
Includes:
Expires
Defined in:
lib/moneta/memory.rb

Instance Method Summary collapse

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