Skip to content

Commit

Permalink
Explicitly define ZREVRANK.
Browse files Browse the repository at this point in the history
  • Loading branch information
Damian Janowski & Michel Martens committed May 6, 2010
1 parent 3d9339e commit d2a54f5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/redis.rb
Expand Up @@ -233,6 +233,10 @@ def zrank(key, member)
@client.call(:zrank, key, member)
end

def zrevrank(key, member)
@client.call(:zrevrank, key, member)
end

def zincrby(key, increment, member)
@client.call(:zincrby, key, increment, member)
end
Expand Down

0 comments on commit d2a54f5

Please sign in to comment.