Class: Mail::ContentDescriptionField
- Inherits:
-
UnstructuredField
- Object
- UnstructuredField
- Mail::ContentDescriptionField
- Defined in:
- lib/mail/fields/content_description_field.rb
Constant Summary collapse
- FIELD_NAME =
'content-description'
- CAPITALIZED_FIELD =
'Content-Description'
Instance Method Summary collapse
-
#initialize(*args) ⇒ ContentDescriptionField
constructor
A new instance of ContentDescriptionField.
Methods inherited from UnstructuredField
#decoded, #default, #encoded, #parse
Methods included from Utilities
Methods included from CommonField
Constructor Details
#initialize(*args) ⇒ ContentDescriptionField
Returns a new instance of ContentDescriptionField.
11 12 13 14 15 16 |
# File 'lib/mail/fields/content_description_field.rb', line 11 def initialize(*args) super(CAPITALIZED_FIELD, strip_field(FIELD_NAME, args.last)) self.parse self end |