Class: Gem::Resolv::DNS::Resource::IN::A
- Inherits:
-
Gem::Resolv::DNS::Resource
- Object
- Query
- Gem::Resolv::DNS::Resource
- Gem::Resolv::DNS::Resource::IN::A
- Defined in:
- lib/rubygems/vendor/resolv/lib/resolv.rb
Overview
IPv4 Address resource
Constant Summary collapse
- TypeValue =
1
- ClassValue =
IN::ClassValue
Constants inherited from Gem::Resolv::DNS::Resource
ClassHash, ClassInsensitiveTypes
Instance Attribute Summary collapse
-
#address ⇒ Object
readonly
The Gem::Resolv::IPv4 address for this A.
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) ⇒ A
constructor
Creates a new A for
address
.
Methods inherited from Gem::Resolv::DNS::Resource
Constructor Details
Instance Attribute Details
#address ⇒ Object (readonly)
The Gem::Resolv::IPv4 address for this A.
2639 2640 2641 |
# File 'lib/rubygems/vendor/resolv/lib/resolv.rb', line 2639 def address @address end |
Class Method Details
Instance Method Details
#encode_rdata(msg) ⇒ Object
:nodoc:
2641 2642 2643 |
# File 'lib/rubygems/vendor/resolv/lib/resolv.rb', line 2641 def encode_rdata(msg) # :nodoc: msg.put_bytes(@address.address) end |