@@ -764,7 +764,7 @@ def msetnx(*args)
764
764
# Set one or more values, only if none of the keys exist.
765
765
#
766
766
# @example
767
- # redis.msetnx ({ "key1" => "v1", "key2" => "v2" })
767
+ # redis.mapped_msetnx ({ "key1" => "v1", "key2" => "v2" })
768
768
# # => true
769
769
#
770
770
# @param [Hash] hash keys mapping to values
@@ -1895,7 +1895,7 @@ def hmget(key, *fields, &blk)
1895
1895
# Get the values of all the given hash fields.
1896
1896
#
1897
1897
# @example
1898
- # redis.hmget ("hash", "f1", "f2")
1898
+ # redis.mapped_hmget ("hash", "f1", "f2")
1899
1899
# # => { "f1" => "v1", "f2" => "v2" }
1900
1900
#
1901
1901
# @param [String] key
@@ -2032,7 +2032,7 @@ def punsubscribe(*channels)
2032
2032
end
2033
2033
end
2034
2034
2035
- # Inspect the state of the Pub/Sub subsystem.
2035
+ # Inspect the state of the Pub/Sub subsystem.
2036
2036
# Possible subcommands: channels, numsub, numpat.
2037
2037
def pubsub ( subcommand , *args )
2038
2038
synchronize do |client |
@@ -2458,7 +2458,7 @@ def sscan(key, cursor, options={})
2458
2458
# Scan a set
2459
2459
#
2460
2460
# @example Retrieve all of the keys in a set
2461
- # redis.sscan ("set").to_a
2461
+ # redis.sscan_each ("set").to_a
2462
2462
# # => ["key1", "key2", "key3"]
2463
2463
#
2464
2464
# @param [Hash] options
0 commit comments