Class: Mail::CcField
- Inherits:
-
StructuredField
- Object
- StructuredField
- Mail::CcField
- Includes:
- CommonAddress
- Defined in:
- lib/mail/fields/cc_field.rb
Constant Summary collapse
- FIELD_NAME =
'cc'
- CAPITALIZED_FIELD =
'Cc'
Instance Method Summary collapse
- #decoded ⇒ Object
- #encoded ⇒ Object
-
#initialize(*args) ⇒ CcField
constructor
A new instance of CcField.
Methods included from CommonAddress
Methods inherited from StructuredField
Methods included from Utilities
Methods included from CommonField
Constructor Details
#initialize(*args) ⇒ CcField
Returns a new instance of CcField.
37 38 39 40 41 |
# File 'lib/mail/fields/cc_field.rb', line 37 def initialize(*args) super(CAPITALIZED_FIELD, strip_field(FIELD_NAME, args.last)) self.parse self end |
Instance Method Details
#decoded ⇒ Object
47 48 49 |
# File 'lib/mail/fields/cc_field.rb', line 47 def decoded do_decode end |
#encoded ⇒ Object
43 44 45 |
# File 'lib/mail/fields/cc_field.rb', line 43 def encoded do_encode(CAPITALIZED_FIELD) end |