Skip to content

Commit 4df43de

Browse files
committed
Merge pull request #580 from digininja/example_fix
Fixed variable name in the example usage
2 parents 90f2b9a + baedb3c commit 4df43de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/redis.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -844,7 +844,7 @@ def mget(*keys, &blk)
844844
# Get the values of all the given keys.
845845
#
846846
# @example
847-
# redis.mapped_mget("key1", "key1")
847+
# redis.mapped_mget("key1", "key2")
848848
# # => { "key1" => "v1", "key2" => "v2" }
849849
#
850850
# @param [Array<String>] keys array of keys

0 commit comments

Comments
 (0)