Class: MailParser::RFC2822::MsgId
- Inherits:
-
Object
- Object
- MailParser::RFC2822::MsgId
- Defined in:
- lib/mailparser/rfc2822.rb
Instance Attribute Summary collapse
-
#msg_id ⇒ Object
readonly
Returns the value of attribute msg_id.
Instance Method Summary collapse
-
#initialize(msg_id) ⇒ MsgId
constructor
A new instance of MsgId.
- #to_s ⇒ Object
Constructor Details
#initialize(msg_id) ⇒ MsgId
Returns a new instance of MsgId.
137 138 139 |
# File 'lib/mailparser/rfc2822.rb', line 137 def initialize(msg_id) @msg_id = msg_id end |
Instance Attribute Details
#msg_id ⇒ Object (readonly)
Returns the value of attribute msg_id.
140 141 142 |
# File 'lib/mailparser/rfc2822.rb', line 140 def msg_id @msg_id end |
Instance Method Details
#to_s ⇒ Object
141 142 143 |
# File 'lib/mailparser/rfc2822.rb', line 141 def to_s() "<#{@msg_id}>" end |