Class: Net::DNS::RR::MR
- Inherits:
-
Net::DNS::RR
- Object
- Net::DNS::RR
- Net::DNS::RR::MR
- Defined in:
- lib/net/dns/rr/mr.rb
Overview
Mail Rename Record (MR)
Class for DNS MR resource records.
Constant Summary
Constants inherited from Net::DNS::RR
Constants included from Names
Instance Attribute Summary collapse
-
#newname ⇒ Object
readonly
Gets the newname value.
Attributes inherited from Net::DNS::RR
Instance Method Summary collapse
-
#value ⇒ Object
Gets the standardized value for this record, represented by the value of
newname
.
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 Attribute Details
#newname ⇒ Object (readonly)
Gets the newname value.
Returns a String.
13 14 15 |
# File 'lib/net/dns/rr/mr.rb', line 13 def newname @newname end |
Instance Method Details
#value ⇒ Object
Gets the standardized value for this record, represented by the value of newname
.
Returns a String.
19 20 21 |
# File 'lib/net/dns/rr/mr.rb', line 19 def value newname.to_s end |