blob: 6220167dee69661ade0844d8add013527164d075 (
plain)
1
2
3
4
5
6
7
8
|
class Redis
ForbiddenCommand = Class.new(StandardError)
def keys(*args)
raise ForbiddenCommand.new("Don't use `Redis#keys` as it iterates over all "\
"keys in redis. Use `Redis#scan_each` instead.")
end
end
|