lib/net/dns/rr/ptr.rb in net-dns-0.2 vs lib/net/dns/rr/ptr.rb in net-dns-0.2.5

- old
+ new

@@ -33,10 +33,10 @@ @ptrdname_pack = pack_name(@ptrdname) @rdlength = @ptrdname_pack.size end def set_type - @type = Net::DNS::RR::RRTypes.new("PTR") + @type = Net::DNS::RR::Types.new("PTR") end def get_data @ptrdname_pack end