Class: Mail::CommentsField
- Inherits:
-
UnstructuredField
- Object
- UnstructuredField
- Mail::CommentsField
- Defined in:
- lib/mail/fields/comments_field.rb
Constant Summary collapse
- FIELD_NAME =
'comments'
- CAPITALIZED_FIELD =
'Comments'
Instance Method Summary collapse
-
#initialize(*args) ⇒ CommentsField
constructor
A new instance of CommentsField.
Methods inherited from UnstructuredField
#decoded, #default, #encoded, #parse
Methods included from Utilities
Methods included from CommonField
Constructor Details
#initialize(*args) ⇒ CommentsField
Returns a new instance of CommentsField.
33 34 35 36 37 38 |
# File 'lib/mail/fields/comments_field.rb', line 33 def initialize(*args) super(CAPITALIZED_FIELD, strip_field(FIELD_NAME, args.last)) self.parse self end |