From 632f744c286efbf4d604cccd179668cc2bb1c57e Mon Sep 17 00:00:00 2001 From: Alex Reisner <alex@alexreisner.com> Date: Sat, 17 Sep 2011 11:18:12 -0400 Subject: [PATCH] Clarify method description. In Redis "expiration" doesn't mean deleting the key. --- lib/geocoder/cache.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/geocoder/cache.rb b/lib/geocoder/cache.rb index 43497807..2465d29f 100644 --- a/lib/geocoder/cache.rb +++ b/lib/geocoder/cache.rb @@ -21,8 +21,8 @@ module Geocoder end ## - # Expire cache entry for given URL, - # or pass <tt>:all</tt> to expire everything. + # Delete cache entry for given URL, + # or pass <tt>:all</tt> to clear all URLs. # def expire(url) if url == :all -- GitLab