method
decode_rdata

decode_rdata(msg)
public
Hide source
# File lib/resolv.rb, line 1812 def self.decode_rdata(msg) # :nodoc: preference, = msg.get_unpack('n') exchange = msg.get_name return self.new(preference, exchange) end