Skip to content

Commit 2ab0517

Browse files
committed
Specify correct parameter name
1 parent cb42c1a commit 2ab0517

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lib/redis.rb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -968,7 +968,7 @@ def llen(key)
968968
# Prepend one or more values to a list, creating the list if it doesn't exist
969969
#
970970
# @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
972972
# @return [Fixnum] the length of the list after the push operation
973973
def lpush(key, value)
974974
synchronize do |client|
@@ -1883,7 +1883,7 @@ def hmset(key, *attrs)
18831883
# # => "OK"
18841884
#
18851885
# @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
18871887
# @return [String] `"OK"`
18881888
#
18891889
# @see #hmset
@@ -2355,7 +2355,7 @@ def _scan(command, cursor, args, options = {}, &block)
23552355
# redis.scan(4, :match => "key:1?")
23562356
# # => ["92", ["key:13", "key:18"]]
23572357
#
2358-
# @param [String, Integer] cursor: the cursor of the iteration
2358+
# @param [String, Integer] cursor the cursor of the iteration
23592359
# @param [Hash] options
23602360
# - `:match => String`: only return keys matching the pattern
23612361
# - `:count => Integer`: return count keys at most per iteration
@@ -2395,7 +2395,7 @@ def scan_each(options={}, &block)
23952395
# @example Retrieve the first batch of key/value pairs in a hash
23962396
# redis.hscan("hash", 0)
23972397
#
2398-
# @param [String, Integer] cursor: the cursor of the iteration
2398+
# @param [String, Integer] cursor the cursor of the iteration
23992399
# @param [Hash] options
24002400
# - `:match => String`: only return keys matching the pattern
24012401
# - `:count => Integer`: return count keys at most per iteration
@@ -2433,7 +2433,7 @@ def hscan_each(key, options={}, &block)
24332433
# @example Retrieve the first batch of key/value pairs in a hash
24342434
# redis.zscan("zset", 0)
24352435
#
2436-
# @param [String, Integer] cursor: the cursor of the iteration
2436+
# @param [String, Integer] cursor the cursor of the iteration
24372437
# @param [Hash] options
24382438
# - `:match => String`: only return keys matching the pattern
24392439
# - `:count => Integer`: return count keys at most per iteration
@@ -2472,7 +2472,7 @@ def zscan_each(key, options={}, &block)
24722472
# @example Retrieve the first batch of keys in a set
24732473
# redis.sscan("set", 0)
24742474
#
2475-
# @param [String, Integer] cursor: the cursor of the iteration
2475+
# @param [String, Integer] cursor the cursor of the iteration
24762476
# @param [Hash] options
24772477
# - `:match => String`: only return keys matching the pattern
24782478
# - `:count => Integer`: return count keys at most per iteration

0 commit comments

Comments
 (0)