Module: Mail::Jdec::CommonAddressFieldPatch
- Defined in:
- lib/mail/jdec/fields/common_address_field_patch.rb
Instance Method Summary collapse
Instance Method Details
#address_list ⇒ Object
21 22 23 |
# File 'lib/mail/jdec/fields/common_address_field_patch.rb', line 21 def address_list element end |
#element ⇒ Object
6 7 8 9 10 11 12 13 14 15 |
# File 'lib/mail/jdec/fields/common_address_field_patch.rb', line 6 def element super rescue Mail::Field::ParseError => e if Jdec.enabled? @errors = [name, value, e] @element = AddressList.new('') else raise e end end |
#errors ⇒ Object
17 18 19 |
# File 'lib/mail/jdec/fields/common_address_field_patch.rb', line 17 def errors @errors end |