Skip to content

Commit

Permalink
require Ruby 2.0 or later
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanstephens committed Aug 22, 2014
1 parent 245d1e8 commit a51e2eb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Expand Up @@ -16,6 +16,8 @@ Or install it yourself as:

$ gem install with_timed_cache

**Note**: Ruby version 2.0 or later is required.

## Usage

with_timed_cache(key, max_age: 1.hour) do
Expand All @@ -27,4 +29,3 @@ Or install it yourself as:
* `max_age`: how long to use the cached data, ex: `30.minutes`
* `location`: the directory path in which to store cache files
* `format`: cache data may be persisted as `:json`, `:yaml`, or the default of marshaling objects to strings will be used.

0 comments on commit a51e2eb

Please sign in to comment.