Method: Redis::Distributed#incrbyfloat
- Defined in:
- lib/redis/distributed.rb
#incrbyfloat(key, increment) ⇒ Object
Increment the numeric value of a key by the given float number.
276 277 278 |
# File 'lib/redis/distributed.rb', line 276 def incrbyfloat(key, increment) node_for(key).incrbyfloat(key, increment) end |