Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A simple Hash like collection with ttl
Ruby
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
spec
LICENSE
README
Rakefile
ttl.gemspec

README

== 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

Something went wrong with that request. Please try again.