Class: MailParser::RFC2822::MsgIdList
- Inherits:
-
Array
- Object
- Array
- MailParser::RFC2822::MsgIdList
- Defined in:
- lib/mailparser/rfc2822.rb
Instance Method Summary collapse
-
#initialize(val = nil) ⇒ MsgIdList
constructor
A new instance of MsgIdList.
- #to_s ⇒ Object
Constructor Details
#initialize(val = nil) ⇒ MsgIdList
Returns a new instance of MsgIdList.
128 129 130 |
# File 'lib/mailparser/rfc2822.rb', line 128 def initialize(val=nil) self << val if val end |
Instance Method Details
#to_s ⇒ Object
131 132 133 |
# File 'lib/mailparser/rfc2822.rb', line 131 def to_s() self.map{|i| i.to_s}.join(" ") end |