@@ -2324,7 +2324,7 @@ def scan(cursor, options={})
2324
2324
#
2325
2325
# @return [String, Array<String>] the next cursor and all found keys
2326
2326
def hscan ( key , cursor , options = { } )
2327
- _scan ( :hscan , cursor , options . merge ( { key : key } ) )
2327
+ _scan ( :hscan , cursor , options . merge ( :key => key ) )
2328
2328
end
2329
2329
2330
2330
# Scan a sorted set
@@ -2339,7 +2339,7 @@ def hscan(key, cursor, options={})
2339
2339
#
2340
2340
# @return [String, Array<String>] the next cursor and all found scores and members
2341
2341
def zscan ( key , cursor , options = { } )
2342
- _scan ( :zscan , cursor , options . merge ( { key : key } ) )
2342
+ _scan ( :zscan , cursor , options . merge ( :key => key ) )
2343
2343
end
2344
2344
2345
2345
# Scan a set
@@ -2354,7 +2354,7 @@ def zscan(key, cursor, options={})
2354
2354
#
2355
2355
# @return [String, Array<String>] the next cursor and all found members
2356
2356
def sscan ( key , cursor , options = { } )
2357
- _scan ( :sscan , cursor , options . merge ( { key : key } ) )
2357
+ _scan ( :sscan , cursor , options . merge ( :key => key ) )
2358
2358
end
2359
2359
2360
2360
def id
0 commit comments