Method: Redis#setbit
- Defined in:
- lib/redis.rb
#setbit(key, offset, value) ⇒ Fixnum
Sets or clears the bit at offset in the string value stored at key.
857 858 859 860 861 |
# File 'lib/redis.rb', line 857 def setbit(key, offset, value) synchronize do |client| client.call([:setbit, key, offset, value]) end end |