@@ -385,7 +385,7 @@ def dump(key)
385
385
# @param [String] key
386
386
# @param [String] ttl
387
387
# @param [String] serialized_value
388
- # @return `"OK"`
388
+ # @return [String] `"OK"`
389
389
def restore ( key , ttl , serialized_value )
390
390
synchronize do |client |
391
391
client . call ( [ :restore , key , ttl , serialized_value ] )
@@ -690,7 +690,7 @@ def set(key, value, options = {})
690
690
# @param [String] key
691
691
# @param [Fixnum] ttl
692
692
# @param [String] value
693
- # @return `"OK"`
693
+ # @return [String] `"OK"`
694
694
def setex ( key , ttl , value )
695
695
synchronize do |client |
696
696
client . call ( [ :setex , key , ttl , value . to_s ] )
@@ -702,7 +702,7 @@ def setex(key, ttl, value)
702
702
# @param [String] key
703
703
# @param [Fixnum] ttl
704
704
# @param [String] value
705
- # @return `"OK"`
705
+ # @return [String] `"OK"`
706
706
def psetex ( key , ttl , value )
707
707
synchronize do |client |
708
708
client . call ( [ :psetex , key , ttl , value . to_s ] )
@@ -727,7 +727,7 @@ def setnx(key, value)
727
727
# # => "OK"
728
728
#
729
729
# @param [Array<String>] args array of keys and values
730
- # @return `"OK"`
730
+ # @return [String] `"OK"`
731
731
#
732
732
# @see #mapped_mset
733
733
def mset ( *args )
@@ -743,7 +743,7 @@ def mset(*args)
743
743
# # => "OK"
744
744
#
745
745
# @param [Hash] hash keys mapping to values
746
- # @return `"OK"`
746
+ # @return [String] `"OK"`
747
747
#
748
748
# @see #mset
749
749
def mapped_mset ( hash )
@@ -1867,7 +1867,7 @@ def hsetnx(key, field, value)
1867
1867
#
1868
1868
# @param [String] key
1869
1869
# @param [Array<String>] attrs array of fields and values
1870
- # @return `"OK"`
1870
+ # @return [String] `"OK"`
1871
1871
#
1872
1872
# @see #mapped_hmset
1873
1873
def hmset ( key , *attrs )
@@ -1884,7 +1884,7 @@ def hmset(key, *attrs)
1884
1884
#
1885
1885
# @param [String] key
1886
1886
# @param [Hash] a non-empty hash with fields mapping to values
1887
- # @return `"OK"`
1887
+ # @return [String] `"OK"`
1888
1888
#
1889
1889
# @see #hmset
1890
1890
def mapped_hmset ( key , hash )
@@ -2207,7 +2207,7 @@ def exec
2207
2207
#
2208
2208
# Only call this method when `#multi` was called **without** a block.
2209
2209
#
2210
- # @return `"OK"`
2210
+ # @return [String] `"OK"`
2211
2211
#
2212
2212
# @see #multi
2213
2213
# @see #exec
0 commit comments