Class: Gem::Resolv::DNS::Resource::IN::AAAA
- Inherits:
-
Gem::Resolv::DNS::Resource
- Object
- Query
- Gem::Resolv::DNS::Resource
- Gem::Resolv::DNS::Resource::IN::AAAA
- Defined in:
- lib/rubygems/vendor/resolv/lib/resolv.rb
Overview
An IPv6 address record.
Constant Summary collapse
- TypeValue =
28
- ClassValue =
IN::ClassValue
Constants inherited from Gem::Resolv::DNS::Resource
ClassHash, ClassInsensitiveTypes
Instance Attribute Summary collapse
-
#address ⇒ Object
readonly
The Gem::Resolv::IPv6 address for this AAAA.
Attributes inherited from Gem::Resolv::DNS::Resource
Class Method Summary collapse
-
.decode_rdata(msg) ⇒ Object
:nodoc:.
Instance Method Summary collapse
-
#encode_rdata(msg) ⇒ Object
:nodoc:.
-
#initialize(address) ⇒ AAAA
constructor
Creates a new AAAA for
address
.
Methods inherited from Gem::Resolv::DNS::Resource
Constructor Details
Instance Attribute Details
#address ⇒ Object (readonly)
The Gem::Resolv::IPv6 address for this AAAA.
2716 2717 2718 |
# File 'lib/rubygems/vendor/resolv/lib/resolv.rb', line 2716 def address @address end |
Class Method Details
Instance Method Details
#encode_rdata(msg) ⇒ Object
:nodoc:
2718 2719 2720 |
# File 'lib/rubygems/vendor/resolv/lib/resolv.rb', line 2718 def encode_rdata(msg) # :nodoc: msg.put_bytes(@address.address) end |