Skip to content

Commit 128d709

Browse files
committed
Fixed rpush and lpush documents
1 parent ea9f1d2 commit 128d709

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
@@ -1041,7 +1041,7 @@ def llen(key)
10411041
# Prepend one or more values to a list, creating the list if it doesn't exist
10421042
#
10431043
# @param [String] key
1044-
# @param [String, Array] value string value, or array of string values to push
1044+
# @param [String, Array<String>] value string value, or array of string values to push
10451045
# @return [Fixnum] the length of the list after the push operation
10461046
def lpush(key, value)
10471047
synchronize do |client|
@@ -1063,7 +1063,7 @@ def lpushx(key, value)
10631063
# Append one or more values to a list, creating the list if it doesn't exist
10641064
#
10651065
# @param [String] key
1066-
# @param [String] value
1066+
# @param [String, Array<String>] value string value, or array of string values to push
10671067
# @return [Fixnum] the length of the list after the push operation
10681068
def rpush(key, value)
10691069
synchronize do |client|

0 commit comments

Comments
 (0)