class Net::IMAP::ThreadMember
Net::IMAP::ThreadMember represents a thread-node returned by Net::IMAP#thread.
Public Instance Methods
Source
# File bundled-src/net-imap-0.6.4.1/lib/net/imap/response_data.rb, line 841
An array of Net::IMAP::ThreadMember objects for mail items that are children of this in the thread.
Source
# File bundled-src/net-imap-0.6.4.1/lib/net/imap/response_data.rb, line 835
The message sequence number.
Source
# File bundled-src/net-imap-0.6.4.1/lib/net/imap/response_data.rb, line 849 def to_sequence_set SequenceSet.new all_seqnos end
Returns a SequenceSet containing seqno and all children‘s seqno, recursively.
Protected Instance Methods
Source
# File bundled-src/net-imap-0.6.4.1/lib/net/imap/response_data.rb, line 855 def all_seqnos(node = self) [node.seqno].concat node.children.flat_map { _1.all_seqnos } end