Class: Mail::ContentDescriptionField

Inherits:
UnstructuredField show all
Defined in:
lib/mail/fields/content_description_field.rb

Constant Summary collapse

FIELD_NAME =
'content-description'
CAPITALIZED_FIELD =
'Content-Description'

Instance Method Summary collapse

Methods inherited from UnstructuredField

#decoded, #default, #encoded, #parse

Methods included from Utilities

included

Methods included from CommonField

included

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