lib/redis/store/marshalling.rb in redis-store-1.1.4 vs lib/redis/store/marshalling.rb in redis-store-1.1.5
- old
+ new
@@ -16,10 +16,10 @@
def get(key, options = nil)
_unmarshal super(key), options
end
def mget(*keys)
- options = keys.flatten.pop if keys.flatten.last.is_a?(Hash)
+ options = keys.pop if keys.last.is_a?(Hash)
super(*keys).map do |result|
_unmarshal result, options
end
end