Method: Redis#zscan
- Defined in:
- lib/redis.rb
#zscan(key, cursor, options = {}) ⇒ String, Array<[String, Float]>
Scan a sorted set
2376 2377 2378 2379 2380 |
# File 'lib/redis.rb', line 2376 def zscan(key, cursor, ={}) _scan(:zscan, cursor, [key], ) do |reply| [reply[0], _floatify_pairs.call(reply[1])] end end |