aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailbox/lib/action_mailbox/mail_ext/address_equality.rb
blob: 69243a666e4a5d7bf214fe04ce15fef1b96316f4 (plain) (blame)
1
2
3
4
5
6
7
# frozen_string_literal: true

class Mail::Address
  def ==(other_address)
    other_address.is_a?(Mail::Address) && to_s == other_address.to_s
  end
end