Class Moneta::Expires
In: lib/moneta/expires.rb
Parent: Proxy

Adds expiration support to the underlying store

`store`, `load` and `key?` support the `:expires` option to set/update the expiration time.

@api public

Methods

create   delete   key?   load   new   store  

Included Modules

ExpiresSupport

Public Class methods

@param [Moneta store] adapter The underlying store @param [Hash] options @option options [String] :expires Default expiration time

Public Instance methods

(see Proxy#key?)

[Validate]