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.
1502 1503 1504 1505 1506 |
# File 'lib/redis.rb', line 1502 def setbit(key, offset, value) synchronize do @client.call [:setbit, key, offset, value] end end |