Redis#zrange

Parsed documentation:
View on GitHub
Return a range of members in a sorted set, by index.

@example Retrieve all members from a sorted set
  redis.zrange("zset", 0, -1)
    # => ["a", "b"]
@example Retrieve all members and their scores from a sorted set
  redis.zrange("zset", 0, -1, :with_scores => true)
    # => [["a", 32.0], ["b", 64.0]]

@param [String] key
@param [Fixnum] start start index
@param [Fixnum] stop stop index
@param [Hash] options
  - `:with_scores => true`: include scores in output

@return [Array<String>, Array<[String, Float]>]
  - when `:with_scores` is not specified, an array of members
  - when `:with_scores` is specified, an array with `[member, score]` pairs
No suggestions.
Please help! Open an issue on GitHub if this assessment is incorrect.