Class: Resolv::DNS::Query

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

Overview

A DNS query abstract class.

Direct Known Subclasses

Resource, Resource::ANY

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.decode_rdata(msg) ⇒ Object

:nodoc:

Raises:



1640
1641
1642
# File 'lib/resolv.rb', line 1640

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

Instance Method Details

#encode_rdata(msg) ⇒ Object

:nodoc:

Raises:



1636
1637
1638
# File 'lib/resolv.rb', line 1636

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