lib/ramaze/cache/redis.rb in ramaze-2012.04.14 vs lib/ramaze/cache/redis.rb in ramaze-2012.12.08b
- old
+ new
@@ -1,8 +1,6 @@
-Ramaze.setup(:verbose => false) do
- gem 'redis'
-end
+require 'redis'
module Ramaze
class Cache
##
# The Redis cache is a cache driver for Redis (http://redis.io/). Redis is a
@@ -120,10 +118,10 @@
##
# Removes a number of keys from the cache.
#
# @author Michael Fellinger
- # @param [Array] *keys An array of key names to remove.
+ # @param [Array] keys An array of key names to remove.
#
def cache_delete(*keys)
@client.del(*keys.map{|key| namespaced_key(key) })
end