D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
td-agent
/
embedded
/
lib
/
ruby
/
gems
/
2.1.0
/
gems
/
mail-2.6.4
/
lib
/
mail
/
fields
/
Filename :
subject_field.rb
back
Copy
# encoding: utf-8 # frozen_string_literal: true # # subject = "Subject:" unstructured CRLF module Mail class SubjectField < UnstructuredField FIELD_NAME = 'subject' CAPITALIZED_FIELD = "Subject" def initialize(value = nil, charset = 'utf-8') self.charset = charset super(CAPITALIZED_FIELD, strip_field(FIELD_NAME, value), charset) end end end