Class Redwood::Container
In: lib/sup/thread.rb
Parent: Object

recursive structure used internally to represent message trees as described by reply-to: and references: headers.

the ‘id’ field is the same as the message id. but the message might be empty, in the case that we represent a message that was referenced by another message (as an ancestor) but never received.

Methods

Attributes

children  [RW] 
id  [RW] 
message  [RW] 
parent  [RW] 
thread  [RW] 

Public Class methods

Public Instance methods

skip over any containers which are empty and have only one child. we use this make the threaded display a little nicer, and only stick in the "missing message" line when it‘s graphically necessary, i.e. when the missing message has more than one descendent.

[Validate]