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.
286 287 288 |
# File 'lib/redis/distributed.rb', line 286 def incrbyfloat(key, increment) node_for(key).incrbyfloat(key, increment) end |