Class: Resolv::DNS::Query

Inherits:
Object
  • Object
show all
Defined in:
lib/net/dns/resolv.rb

Overview

:nodoc:

Direct Known Subclasses

Resource, Resource::ANY

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.decode_rdata(msg) ⇒ Object

Raises:



1465
1466
1467
# File 'lib/net/dns/resolv.rb', line 1465

def self.decode_rdata(msg)
  raise DecodeError.new("#{self.class} is query.") 
end

Instance Method Details

#encode_rdata(msg) ⇒ Object

Raises:



1461
1462
1463
# File 'lib/net/dns/resolv.rb', line 1461

def encode_rdata(msg)
  raise EncodeError.new("#{self.class} is query.") 
end