Class: DNS::QClass
Overview
– QCLASS fields appear in the question section of a query. QCLASS values are a superset of CLASS values; every CLASS is a valid QCLASS. In addition to CLASS values, the following QCLASSes are defined:
-
255 any class
++
Constant Summary collapse
- Values =
{ 254 => :NONE, 255 => :ANY }
Instance Attribute Summary
Attributes inherited from Class
Instance Method Summary collapse
-
#initialize(value) ⇒ QClass
constructor
A new instance of QClass.
- #to_s ⇒ Object
- #to_sym ⇒ Object
Methods inherited from Class
Constructor Details
#initialize(value) ⇒ QClass
Returns a new instance of QClass.
38 39 40 |
# File 'lib/faildns/qclass.rb', line 38 def initialize (value) super(value) end |