Mail::CommonField
Inherits Reference < Object
Constants
FILENAME_RE = /\b(filename|name)=([^;"\r\n]+\s[^;"\r\n]+)/
Constructors
new(value = nil, charset = nil)
SourceClass methods
parse(*args)
Sourcesingular?
SourceInstance methods
charset
Sourcecharset=(charset : String | Nil)
Sourcedecoded
Sourcedefault
Sourcedo_decode
Sourcedo_encode
Sourceelement
Sourceelement=(element)
Sourceencoded
Sourceerrors
Sourceerrors=(errors : Array(Array(String | Field::ParseError)))
Sourcemain_type
Sourcemime_type
Sourcename
Sourcename=(name : String | Nil)
Sourceparameters
Sourceparse
Sourceresponsible_for?(field_name)
Sourcesingular?
Sourceto_s
Returns a nicely readable and concise string representation of this object, typically intended for users.
This method should usually not be overridden. It delegates to
#to_s(IO) which can be overridden for custom implementations.
Also see #inspect.
value
Sourcevalue=(value)
Source