Class: Mail::NamedStructuredField

Inherits:
StructuredField show all
Defined in:
lib/mail/fields/named_structured_field.rb

Overview

:nodoc:

Instance Attribute Summary

Attributes inherited from CommonField

#charset, #errors, #name, #value

Instance Method Summary collapse

Methods inherited from CommonField

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

Constructor Details

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

Returns a new instance of NamedStructuredField.


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

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