Class: Mail::NamedStructuredField
- Inherits:
-
StructuredField
- Object
- CommonField
- StructuredField
- Mail::NamedStructuredField
- Defined in:
- lib/mail/fields/named_structured_field.rb
Overview
:nodoc:
Direct Known Subclasses
CommonAddressField, CommonDateField, CommonMessageIdField, ContentDispositionField, ContentIdField, ContentLocationField, ContentTransferEncodingField, ContentTypeField, Envelope, KeywordsField, MimeVersionField, ReceivedField
Instance Attribute Summary
Attributes inherited from CommonField
#charset, #errors, #name, #value
Instance Method Summary collapse
-
#initialize(value = nil, charset = nil) ⇒ NamedStructuredField
constructor
A new instance of NamedStructuredField.
Methods inherited from CommonField
#decoded, #default, #element, #encoded, #parse, parse, #responsible_for?, singular?, #singular?, #to_s
Constructor Details
#initialize(value = nil, charset = nil) ⇒ NamedStructuredField
Returns a new instance of NamedStructuredField.
7 8 9 |
# File 'lib/mail/fields/named_structured_field.rb', line 7 def initialize(value = nil, charset = nil) super self.class::NAME, value, charset end |