Class: Mail::NamedUnstructuredField

Inherits:
UnstructuredField show all
Defined in:
lib/mail/fields/named_unstructured_field.rb

Overview

:nodoc:

Instance Attribute Summary

Attributes inherited from CommonField

#charset, #errors, #name, #value

Instance Method Summary collapse

Methods inherited from UnstructuredField

#parse

Methods inherited from CommonField

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

Constructor Details

#initialize(value = nil, charset = nil) ⇒ NamedUnstructuredField

Returns a new instance of NamedUnstructuredField.



7
8
9
# File 'lib/mail/fields/named_unstructured_field.rb', line 7

def initialize(value = nil, charset = nil)
  super self.class::NAME, value, charset
end