TODO: Write a gem description
Add this line to your application's Gemfile:
gem 'lrucache_compat'
And then execute:
$ bundle
Or install it yourself as:
$ gem install lrucache_compat
cache = LRUCacheCompat::LRUCache.new(ttl: 1.hour)
cache.store("banana", "yellow")
cache.store("monkey", "banana", Time.now + 3.days)
- Fork it ( https://github.com//lrucache_compat/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request