Class: Gem::Resolv::DNS::Query

Inherits:
Object
  • Object
show all
Defined in:
lib/rubygems/vendor/resolv/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:



2098
2099
2100
# File 'lib/rubygems/vendor/resolv/lib/resolv.rb', line 2098

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

Instance Method Details

#encode_rdata(msg) ⇒ Object

:nodoc:

Raises:



2094
2095
2096
# File 'lib/rubygems/vendor/resolv/lib/resolv.rb', line 2094

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