Class: Mail::InReplyToField
- Inherits:
-
StructuredField
- Object
- StructuredField
- Mail::InReplyToField
- Includes:
- CommonMessageId
- Defined in:
- lib/mail/fields/in_reply_to_field.rb
Constant Summary collapse
- FIELD_NAME =
'in-reply-to'
- CAPITALIZED_FIELD =
'In-Reply-To'
Instance Method Summary collapse
- #decoded ⇒ Object
- #encoded ⇒ Object
-
#initialize(*args) ⇒ InReplyToField
constructor
A new instance of InReplyToField.
Methods included from CommonMessageId
Methods inherited from StructuredField
Methods included from Utilities
Methods included from CommonField
Constructor Details
#initialize(*args) ⇒ InReplyToField
Returns a new instance of InReplyToField.
37 38 39 40 41 |
# File 'lib/mail/fields/in_reply_to_field.rb', line 37 def initialize(*args) super(CAPITALIZED_FIELD, strip_field(FIELD_NAME, args.last)) self.parse self end |
Instance Method Details
#decoded ⇒ Object
47 48 49 |
# File 'lib/mail/fields/in_reply_to_field.rb', line 47 def decoded do_decode end |
#encoded ⇒ Object
43 44 45 |
# File 'lib/mail/fields/in_reply_to_field.rb', line 43 def encoded do_encode(CAPITALIZED_FIELD) end |