Class: Net::IMAP::ThreadMember

Inherits:
Struct
  • Object
show all
Defined in:
lib/net/imap/response_data.rb

Overview

Net::IMAP::ThreadMember represents a thread-node returned by Net::IMAP#thread.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#childrenObject

Returns the value of attribute children

Returns:

  • (Object)

    the current value of children



764
765
766
# File 'lib/net/imap/response_data.rb', line 764

def children
  @children
end

#seqnoObject

Returns the value of attribute seqno

Returns:

  • (Object)

    the current value of seqno



764
765
766
# File 'lib/net/imap/response_data.rb', line 764

def seqno
  @seqno
end

Instance Method Details

#to_sequence_setObject

Returns a SequenceSet containing #seqno and all #children’s seqno, recursively.



780
781
782
# File 'lib/net/imap/response_data.rb', line 780

def to_sequence_set
  SequenceSet.new all_seqnos
end