Class: Mail::SubjectField

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

Constant Summary collapse

FIELD_NAME =
'subject'
CAPITALIZED_FIELD =
"Subject"

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) ⇒ SubjectField

Returns a new instance of SubjectField.



10
11
12
# File 'lib/mail/fields/subject_field.rb', line 10

def initialize(*args)
  super(CAPITALIZED_FIELD, strip_field(FIELD_NAME, args.last))
end