# File lib/dnsruby/message/section.rb, line 67 def ==(other) return false unless self.class == other.class return false if other.rrsets(nil, true).length != self.rrsets(nil, true).length otherrrsets = other.rrsets(nil) self.rrsets(nil).each {|rrset| return false unless otherrrsets.include?(rrset) } true end