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
8
9
10
|
# File 'lib/mail/fields/content_location_field.rb', line 8
def self.singular?
true
end
|
Instance Method Details
#decoded ⇒ Object
24
25
26
|
# File 'lib/mail/fields/content_location_field.rb', line 24
def decoded
location
end
|
#encoded ⇒ Object
20
21
22
|
# File 'lib/mail/fields/content_location_field.rb', line 20
def encoded
"#{name}: #{location}\r\n"
end
|
#location ⇒ Object
16
17
18
|
# File 'lib/mail/fields/content_location_field.rb', line 16
def location
element.location
end
|