Class: Mail::SubjectField

Inherits:
NamedUnstructuredField show all
Defined in:
lib/mail/fields/subject_field.rb

Overview

subject = “Subject:” unstructured CRLF

Constant Summary collapse

NAME =

:nodoc:

'Subject'

Instance Attribute Summary

Attributes inherited from CommonField

#charset, #errors, #name, #value

Class Method Summary collapse

Methods inherited from NamedUnstructuredField

#initialize

Methods inherited from UnstructuredField

#initialize, #parse

Methods inherited from CommonField

#decoded, #default, #element, #encoded, #initialize, #parse, parse, #responsible_for?, #singular?, #to_s

Constructor Details

This class inherits a constructor from Mail::NamedUnstructuredField

Class Method Details

.singular?Boolean

Returns:

  • (Boolean)

11
12
13
# File 'lib/mail/fields/subject_field.rb', line 11

def self.singular?
  true
end