Method: Redis#incrbyfloat
- Defined in:
- lib/redis.rb
#incrbyfloat(key, increment) ⇒ Float
Increment the numeric value of a key by the given float number.
640 641 642 643 644 |
# File 'lib/redis.rb', line 640 def incrbyfloat(key, increment) synchronize do |client| client.call([:incrbyfloat, key, increment], &_floatify) end end |