class Net::IMAP::ESearchResult::PartialResult

ESearchResult#partial 返回。

需要 PARTIAL [RFC9394]CONTEXT=SEARCH/CONTEXT=SORT [RFC5267]

另请参阅: to_a

公共类方法

new(range:, results:) 点击切换源代码
调用父类方法
# File net-imap-0.5.4/lib/net/imap/esearch_result.rb, line 146
def initialize(range:, results:)
  range   => Range
  results = SequenceSet[results] unless results.nil?
  super
end

公共实例方法

range → range 点击切换源代码
# File net-imap-0.5.4/lib/net/imap/esearch_result.rb, line 153
        
results → 序列集或 nil 点击切换源代码
# File net-imap-0.5.4/lib/net/imap/esearch_result.rb, line 157
        
to_a() 点击切换源代码

results 转换为整数数组。

另请参阅: ESearchResult#to_a

# File net-imap-0.5.4/lib/net/imap/esearch_result.rb, line 163
def to_a; results&.numbers || [] end