def to_enum(match: '*', count: 10, with_scores: false)
      enumerator = self.connection.zscan_each(@key, match: match, count: count)
      return enumerator if with_scores
      return Enumerator.new do |yielder|
        loop do
          item, = enumerator.next
          yielder << item
        end
      end
    end
def to_enum(match: '*', count: 10, with_scores: false)
      enumerator = self.connection.zscan_each(@key, match: match, count: count)
      return enumerator if with_scores
      return Enumerator.new do |yielder|
        loop do
          item, = enumerator.next
          yielder << item
        end
      end
    end
Use redis-rb zscan_each method to iterate over particular keys
 @return [Enumerator] base enumerator to iterate of the namespaced keys