/ttl

A simple Hash like collection with ttl

Primary LanguageRubyMIT LicenseMIT

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