@@ -968,7 +968,7 @@ def llen(key)
968
968
# Prepend one or more values to a list, creating the list if it doesn't exist
969
969
#
970
970
# @param [String] key
971
- # @param [String, Array] string value, or array of string values to push
971
+ # @param [String, Array] value string value, or array of string values to push
972
972
# @return [Fixnum] the length of the list after the push operation
973
973
def lpush ( key , value )
974
974
synchronize do |client |
@@ -1883,7 +1883,7 @@ def hmset(key, *attrs)
1883
1883
# # => "OK"
1884
1884
#
1885
1885
# @param [String] key
1886
- # @param [Hash] a non-empty hash with fields mapping to values
1886
+ # @param [Hash] hash a non-empty hash with fields mapping to values
1887
1887
# @return [String] `"OK"`
1888
1888
#
1889
1889
# @see #hmset
@@ -2355,7 +2355,7 @@ def _scan(command, cursor, args, options = {}, &block)
2355
2355
# redis.scan(4, :match => "key:1?")
2356
2356
# # => ["92", ["key:13", "key:18"]]
2357
2357
#
2358
- # @param [String, Integer] cursor: the cursor of the iteration
2358
+ # @param [String, Integer] cursor the cursor of the iteration
2359
2359
# @param [Hash] options
2360
2360
# - `:match => String`: only return keys matching the pattern
2361
2361
# - `:count => Integer`: return count keys at most per iteration
@@ -2395,7 +2395,7 @@ def scan_each(options={}, &block)
2395
2395
# @example Retrieve the first batch of key/value pairs in a hash
2396
2396
# redis.hscan("hash", 0)
2397
2397
#
2398
- # @param [String, Integer] cursor: the cursor of the iteration
2398
+ # @param [String, Integer] cursor the cursor of the iteration
2399
2399
# @param [Hash] options
2400
2400
# - `:match => String`: only return keys matching the pattern
2401
2401
# - `:count => Integer`: return count keys at most per iteration
@@ -2433,7 +2433,7 @@ def hscan_each(key, options={}, &block)
2433
2433
# @example Retrieve the first batch of key/value pairs in a hash
2434
2434
# redis.zscan("zset", 0)
2435
2435
#
2436
- # @param [String, Integer] cursor: the cursor of the iteration
2436
+ # @param [String, Integer] cursor the cursor of the iteration
2437
2437
# @param [Hash] options
2438
2438
# - `:match => String`: only return keys matching the pattern
2439
2439
# - `:count => Integer`: return count keys at most per iteration
@@ -2472,7 +2472,7 @@ def zscan_each(key, options={}, &block)
2472
2472
# @example Retrieve the first batch of keys in a set
2473
2473
# redis.sscan("set", 0)
2474
2474
#
2475
- # @param [String, Integer] cursor: the cursor of the iteration
2475
+ # @param [String, Integer] cursor the cursor of the iteration
2476
2476
# @param [Hash] options
2477
2477
# - `:match => String`: only return keys matching the pattern
2478
2478
# - `:count => Integer`: return count keys at most per iteration
0 commit comments