Class: Moneta::Tyrant

Inherits:
Rufus::Tokyo::Tyrant
  • Object
show all
Includes:
Defaults, Expires, Implementation
Defined in:
lib/moneta/tyrant.rb

Defined Under Namespace

Modules: Implementation Classes: Expiration

Instance Method Summary collapse

Methods included from Expires

#[], #check_expired, #delete, #fetch, #key?, #store, #update_key

Methods included from Implementation

#[], #[]=, #key?

Methods included from Defaults

#fetch, #store

Constructor Details

#initialize(options = {}) ⇒ Tyrant

Returns a new instance of Tyrant.



37
38
39
40
# File 'lib/moneta/tyrant.rb', line 37

def initialize(options = {})
  super
  @expiration = Expiration.new(options)
end