Class: Mail::SubjectField
- Inherits:
-
UnstructuredField
- Object
- UnstructuredField
- Mail::SubjectField
- Defined in:
- lib/mail/fields/subject_field.rb
Constant Summary collapse
- FIELD_NAME =
'subject'
- CAPITALIZED_FIELD =
"Subject"
Instance Method Summary collapse
-
#initialize(*args) ⇒ SubjectField
constructor
A new instance of SubjectField.
Methods inherited from UnstructuredField
#decoded, #default, #encoded, #parse
Methods included from Utilities
Methods included from CommonField
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 |