class Net::IMAP::ESearchResult
def max; data.assoc("MAX")&.last end
Requires +ESEARCH+ {[RFC4731]}[https://www.rfc-editor.org/rfc/rfc4731.html#section-3.1] or
the +MAX+ return option wasn't specified.
Returns +nil+ when the associated search command has no results, or when
The highest message number/UID that satisfies the SEARCH criteria.
:call-seq: max -> integer or nil
def max; data.assoc("MAX")&.last end