Method: Redis::Commands::Strings#incrbyfloat
- Defined in:
- lib/redis/commands/strings.rb
#incrbyfloat(key, increment) ⇒ Float
Increment the numeric value of a key by the given float number.
65 66 67 |
# File 'lib/redis/commands/strings.rb', line 65 def incrbyfloat(key, increment) send_command([:incrbyfloat, key, Float(increment)], &Floatify) end |