Method: InternetMessage::Address#==
- Defined in:
- lib/internet_message/address.rb
#==(other) ⇒ true, false
Compare self to other. local_part and domain are case insensitive.
30 31 32 |
# File 'lib/internet_message/address.rb', line 30 def ==(other) other.is_a?(Address) && other.local_part.downcase == self.local_part.downcase && other.domain.downcase == self.domain.downcase end |