Class: Mail::Address
- Inherits:
-
Object
- Object
- Mail::Address
- Defined in:
- lib/jpmobile/mail.rb
Instance Method Summary collapse
- #encoded_with_jpmobile ⇒ Object (also: #encoded)
- #get_display_name_with_jpmobile ⇒ Object (also: #get_display_name)
Instance Method Details
#encoded_with_jpmobile ⇒ Object Also known as: encoded
574 575 576 |
# File 'lib/jpmobile/mail.rb', line 574 def encoded_with_jpmobile encoded_without_jpmobile end |
#get_display_name_with_jpmobile ⇒ Object Also known as: get_display_name
578 579 580 581 582 583 584 585 |
# File 'lib/jpmobile/mail.rb', line 578 def get_display_name_with_jpmobile get_display_name_without_jpmobile rescue NoMethodError => e raise e unless e..match?(/undefined method `gsub' for nil:NilClass/) name = unquote(tree.display_name.text_value.strip.to_s) strip_all_comments(name.to_s) end |