Class: Mail::NamedUnstructuredField
- Inherits:
-
UnstructuredField
- Object
- CommonField
- UnstructuredField
- Mail::NamedUnstructuredField
- Defined in:
- lib/mail/fields/named_unstructured_field.rb
Overview
:nodoc:
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from CommonField
#charset, #errors, #name, #value
Instance Method Summary collapse
-
#initialize(value = nil, charset = nil) ⇒ NamedUnstructuredField
constructor
A new instance of NamedUnstructuredField.
Methods inherited from UnstructuredField
Methods inherited from CommonField
#decoded, #default, #element, #encoded, #parse, parse, #responsible_for?, singular?, #singular?, #to_s
Constructor Details
#initialize(value = nil, charset = nil) ⇒ NamedUnstructuredField
Returns a new instance of NamedUnstructuredField.
6 7 8 |
# File 'lib/mail/fields/named_unstructured_field.rb', line 6 def initialize(value = nil, charset = nil) super self.class::NAME, value, charset end |