Class: Net::DNS::RR::MR

Inherits:
Net::DNS::RR show all
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

RRFIXEDSZ, RR_REGEXP

Constants included from Names

Names::INT16SZ

Instance Method Summary collapse

Methods inherited from Net::DNS::RR

#cls, #comp_data, #data, #initialize, #inspect, #name, parse, parse_packet, #rdata, #to_a, #to_s, #ttl, #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

#newnameObject

Gets the newname value.

Returns a String.



16
17
18
# File 'lib/net/dns/rr/mr.rb', line 16

def newname
  @newname
end

#valueObject

Gets the standardized value for this record, represented by the value of newname.

Returns a String.



24
25
26
# File 'lib/net/dns/rr/mr.rb', line 24

def value
  newname.to_s
end