[](key)
click to toggle source
def [](key) @hash["#{key}__!__expiration"] end
[]=(key, value)
click to toggle source
def []=(key, value) @hash["#{key}__!__expiration"] = value end
delete(key)
click to toggle source
def delete(key)
key = "#{key}__!__expiration"
value = @hash[key]
@hash.delete(key)
value
end