Class: Mail::Address
Relationships & Source Files | |
Inherits: | Object |
Defined in: | actionmailbox/lib/action_mailbox/mail_ext/address_equality.rb, actionmailbox/lib/action_mailbox/mail_ext/address_wrapping.rb |
Class Method Summary
Instance Method Summary
Class Method Details
.wrap(address)
[ GitHub ]Instance Method Details
#==(other_address)
[ GitHub ]# File 'actionmailbox/lib/action_mailbox/mail_ext/address_equality.rb', line 5
def ==(other_address) other_address.is_a?(Mail::Address) && to_s == other_address.to_s end