Skip to content

Commit a3c80fc

Browse files
Merge #694
694: Fixed rpush and lpush documents r=badboy
2 parents 568329f + 128d709 commit a3c80fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/redis.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1047,7 +1047,7 @@ def llen(key)
10471047
# Prepend one or more values to a list, creating the list if it doesn't exist
10481048
#
10491049
# @param [String] key
1050-
# @param [String, Array] value string value, or array of string values to push
1050+
# @param [String, Array<String>] value string value, or array of string values to push
10511051
# @return [Fixnum] the length of the list after the push operation
10521052
def lpush(key, value)
10531053
synchronize do |client|
@@ -1069,7 +1069,7 @@ def lpushx(key, value)
10691069
# Append one or more values to a list, creating the list if it doesn't exist
10701070
#
10711071
# @param [String] key
1072-
# @param [String] value
1072+
# @param [String, Array<String>] value string value, or array of string values to push
10731073
# @return [Fixnum] the length of the list after the push operation
10741074
def rpush(key, value)
10751075
synchronize do |client|

0 commit comments

Comments
 (0)