Method: RedisHash::Counters#increment
- Defined in:
- lib/redis_hash/concerns/counters.rb
#increment(field, by: 1) ⇒ Object
24 25 26 |
# File 'lib/redis_hash/concerns/counters.rb', line 24 def increment(field, by: 1) increment_field_by(field, by) end |