Class: Net::DNS::RR::PTR
- Inherits:
-
Net::DNS::RR
- Object
- Net::DNS::RR
- Net::DNS::RR::PTR
- Defined in:
- lib/net/dns/rr/ptr.rb
Overview
RR type PTR
Constant Summary
Constants inherited from Net::DNS::RR
Constants included from Names
Instance Attribute Summary
Attributes inherited from Net::DNS::RR
Instance Method Summary collapse
-
#ptr ⇒ Object
(also: #ptrdname)
Getter for PTR resource.
Methods inherited from Net::DNS::RR
#cls, #comp_data, #data, #initialize, #inspect, parse, parse_packet, #to_a, #to_s, #type
Methods included from Names
#dn_comp, #dn_expand, #names_array, #pack_name, #valid?
Constructor Details
This class inherits a constructor from Net::DNS::RR
Instance Method Details
#ptr ⇒ Object Also known as: ptrdname
Getter for PTR resource
19 20 21 |
# File 'lib/net/dns/rr/ptr.rb', line 19 def ptr @ptrdname.to_s end |