class Net::IMAP::ESearchResult::PartialResult
See also: #to_a
or CONTEXT=SEARCH
/CONTEXT=SORT
Requires PARTIAL
{[RFC9394]}[https://www.rfc-editor.org/rfc/rfc9394.html]
Returned by ESearchResult#partial.
def initialize(range:, results:)
def initialize(range:, results:) range => Range results = SequenceSet[results] unless results.nil? super end
def to_a; results&.numbers || [] end
Converts #results to an array of integers.
def to_a; results&.numbers || [] end