Method: Redis#bitop
- Defined in:
- lib/redis.rb
#bitop(operation, destkey, *keys) ⇒ Fixnum
Perform a bitwise operation between strings and store the resulting string in a key.
903 904 905 906 907 |
# File 'lib/redis.rb', line 903 def bitop(operation, destkey, *keys) synchronize do |client| client.call([:bitop, operation, destkey] + keys) end end |