From a51e2eb3270e8bba6fec53c6a3ebcf5610925207 Mon Sep 17 00:00:00 2001 From: Jordan Stephens Date: Thu, 21 Aug 2014 23:19:07 -0400 Subject: [PATCH] require Ruby 2.0 or later --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6e34ff2..10f5041 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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. -