# File lib/dnsruby/resource/RR.rb, line 84
  def sameRRset(rec)
    if @klass != rec.klass || @name.downcase != rec.name.downcase
      return false
    elsif (rec.type == Types.RRSIG) && (@type == Types.RRSIG)
      return rec.type_covered == self.type_covered
    end
    [rec, self].each do |rr|
      if rr.type == Types::RRSIG
        return (@type == rr.type_covered) || (rec.type == rr.type_covered)
      end
    end
    @type == rec.type
  end