Class: Moneta::Tyrant
- Inherits:
-
Rufus::Tokyo::Tyrant
- Object
- Rufus::Tokyo::Tyrant
- Moneta::Tyrant
- Includes:
- Defaults, Expires, Implementation
- Defined in:
- lib/moneta/tyrant.rb
Defined Under Namespace
Modules: Implementation Classes: Expiration
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Tyrant
constructor
A new instance of Tyrant.
Methods included from Expires
#[], #check_expired, #delete, #fetch, #key?, #store, #update_key
Methods included from Implementation
Methods included from Defaults
Constructor Details
#initialize(options = {}) ⇒ Tyrant
Returns a new instance of Tyrant.
37 38 39 40 |
# File 'lib/moneta/tyrant.rb', line 37 def initialize( = {}) super @expiration = Expiration.new() end |