Class: Mail::ContentLocationField
Overview
Constant Summary
collapse
- NAME =
'Content-Location'
Instance Attribute Summary
Attributes inherited from CommonField
#charset, #errors, #name, #value
Class Method Summary
collapse
Instance Method Summary
collapse
#initialize
Methods inherited from CommonField
#default, #initialize, parse, #parse, #responsible_for?, #singular?, #to_s
Class Method Details
.singular? ⇒ Boolean
9
10
11
|
# File 'lib/mail/fields/content_location_field.rb', line 9
def self.singular?
true
end
|
Instance Method Details
#decoded ⇒ Object
25
26
27
|
# File 'lib/mail/fields/content_location_field.rb', line 25
def decoded
location
end
|
#encoded ⇒ Object
21
22
23
|
# File 'lib/mail/fields/content_location_field.rb', line 21
def encoded
"#{name}: #{location}\r\n"
end
|
#location ⇒ Object
17
18
19
|
# File 'lib/mail/fields/content_location_field.rb', line 17
def location
element.location
end
|