class Net::IMAP::ESearchResult::PartialResult
Returned by ESearchResult#partial
.
Requires PARTIAL
[RFC9394] or CONTEXT=SEARCH
/CONTEXT=SORT
[RFC5267]
See also: to_a
Public Class Methods
Source
# File lib/net/imap/esearch_result.rb, line 146 def initialize(range:, results:) range => Range results = SequenceSet[results] unless results.nil? super end
Calls superclass method
Public Instance Methods
Source
# File lib/net/imap/esearch_result.rb, line 163 def to_a; results&.numbers || [] end
Converts results
to an array of integers.
See also: ESearchResult#to_a
.