Increment the integer value of a key by one.
914 915 916 917 918
# File 'lib/redis.rb', line 914 def incr(key) synchronize do @client.call [:incr, key] end end