Method: Redis::Distributed#setbit

Defined in:
lib/redis/distributed.rb

#setbit(key, offset, value) ⇒ Object

Sets or clears the bit at offset in the string value stored at key.



300
301
302
# File 'lib/redis/distributed.rb', line 300

def setbit(key, offset, value)
  node_for(key).setbit(key, offset, value)
end