class Mail::CcField

Constants

CAPITALIZED_FIELD
FIELD_NAME

Public Class Methods

new(value = nil, charset = 'utf-8') click to toggle source
Calls superclass method
# File lib/mail/fields/cc_field.rb, line 38
def initialize(value = nil, charset = 'utf-8')
  self.charset = charset
  super(CAPITALIZED_FIELD, strip_field(FIELD_NAME, value), charset)
  self
end

Public Instance Methods

decoded() click to toggle source
# File lib/mail/fields/cc_field.rb, line 48
def decoded
  do_decode
end
encoded() click to toggle source
# File lib/mail/fields/cc_field.rb, line 44
def encoded
  do_encode(CAPITALIZED_FIELD)
end