== TTL a = TTL.new(1) # 1 second ttl a[:key] = "value" a[:key] # => "value" sleep(1.01) # wait .. wait .. wait a[:key] # => nil == TODO Everything Not thread safe? == AUTHORS Emmanuel Oga
== TTL a = TTL.new(1) # 1 second ttl a[:key] = "value" a[:key] # => "value" sleep(1.01) # wait .. wait .. wait a[:key] # => nil == TODO Everything Not thread safe? == AUTHORS Emmanuel Oga