Sha256: 8b897964d17bca1477a7f36872c87b2997eed099a92f3570a65c34b2ff9ec95b

Contents?: true

Size: 316 Bytes

Versions: 32

Compression:

Stored size: 316 Bytes

Contents

# encoding: utf-8
# 
# subject         =       "Subject:" unstructured CRLF
module Mail
  class SubjectField < UnstructuredField
    
    FIELD_NAME = 'subject'
    CAPITALIZED_FIELD = "Subject"
    
    def initialize(*args)
      super(CAPITALIZED_FIELD, strip_field(FIELD_NAME, args.last))
    end
    
  end
end

Version data entries

32 entries across 32 versions & 2 rubygems

Version Path
mail-1.4.0 lib/mail/fields/subject_field.rb
mail-1.3.5 lib/mail/fields/subject_field.rb
mail-1.3.4 lib/mail/fields/subject_field.rb
mail-1.3.3 lib/mail/fields/subject_field.rb
mail-1.3.2 lib/mail/fields/subject_field.rb
mail-1.3.1 lib/mail/fields/subject_field.rb
mail-1.3.0 lib/mail/fields/subject_field.rb
mail-1.2.9 lib/mail/fields/subject_field.rb
mail-1.2.8 lib/mail/fields/subject_field.rb
mail-1.2.6 lib/mail/fields/subject_field.rb
mail-1.2.5 ./lib/mail/fields/subject_field.rb
mail-1.2.1 ./lib/mail/fields/subject_field.rb