# File lib/redis.rb, line 1549
  def zrevrangebyscore(key, max, min, options = {})
    args = []

    with_scores = options[:with_scores] || options[:withscores]
    args.concat(["WITHSCORES"]) if with_scores

    limit = options[:limit]
    args.concat(["LIMIT"] + limit) if limit

    synchronize do |client|
      client.call([:zrevrangebyscore, key, max, min] + args) do |reply|
        if with_scores
          if reply
            reply.each_slice(2).map do |member, score|
              [member, _floatify(score)]
            end
          end
        else
          reply
        end
      end
    end
  end