# File lib/Dnsruby/message.rb, line 149 def ==(other) return false unless (other.instance_of?Message::Section) return false if (other.rrsets(nil, true).length != self.rrsets(nil, true).length) otherrrsets = other.rrsets(nil, true) self.rrsets(nil, true).each {|rrset| return false unless otherrrsets.include?rrset } return true end