# File 'lib/action_mailbox/mail_ext/address_wrapping.rb', line 5defself.wrap(address)address.is_a?(Mail::Address)?address:Mail::Address.new(address)end
Instance Method Details
#==(other_address) ⇒ Object
5
6
7
# File 'lib/action_mailbox/mail_ext/address_equality.rb', line 5def==(other_address)other_address.is_a?(Mail::Address)&&to_s==other_address.to_send