Sha256: bb5212bb4774f399a12645e0424cb7cf269b438c8bf6784b8c08071b0b7c3de3

Contents?: true

Size: 174 Bytes

Versions: 147

Compression:

Stored size: 174 Bytes

Contents

# frozen_string_literal: true

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

Version data entries

147 entries across 142 versions & 11 rubygems

Version Path
actionmailbox-8.0.0 lib/action_mailbox/mail_ext/address_equality.rb
actionmailbox-7.2.2 lib/action_mailbox/mail_ext/address_equality.rb
actionmailbox-7.1.5 lib/action_mailbox/mail_ext/address_equality.rb
actionmailbox-8.0.0.rc2 lib/action_mailbox/mail_ext/address_equality.rb
actionmailbox-7.2.1.2 lib/action_mailbox/mail_ext/address_equality.rb
actionmailbox-7.1.4.2 lib/action_mailbox/mail_ext/address_equality.rb
actionmailbox-7.0.8.6 lib/action_mailbox/mail_ext/address_equality.rb
actionmailbox-6.1.7.10 lib/action_mailbox/mail_ext/address_equality.rb
actionmailbox-8.0.0.rc1 lib/action_mailbox/mail_ext/address_equality.rb
actionmailbox-6.1.7.9 lib/action_mailbox/mail_ext/address_equality.rb
actionmailbox-7.2.1.1 lib/action_mailbox/mail_ext/address_equality.rb
actionmailbox-7.1.4.1 lib/action_mailbox/mail_ext/address_equality.rb
actionmailbox-7.0.8.5 lib/action_mailbox/mail_ext/address_equality.rb
actionmailbox-8.0.0.beta1 lib/action_mailbox/mail_ext/address_equality.rb
omg-actionmailbox-8.0.0.alpha9 lib/action_mailbox/mail_ext/address_equality.rb
omg-actionmailbox-8.0.0.alpha8 lib/action_mailbox/mail_ext/address_equality.rb
omg-actionmailbox-8.0.0.alpha7 lib/action_mailbox/mail_ext/address_equality.rb
omg-actionmailbox-8.0.0.alpha4 lib/action_mailbox/mail_ext/address_equality.rb
omg-actionmailbox-8.0.0.alpha3 lib/action_mailbox/mail_ext/address_equality.rb
actionmailbox-7.1.4 lib/action_mailbox/mail_ext/address_equality.rb