Class: Gem::Resolv::DNS::Resource::IN::A
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
|
|
Instance Chain:
|
|
Inherits: |
Gem::Resolv::DNS::Resource
|
Defined in: | lib/rubygems/vendor/resolv/lib/resolv.rb |
Overview
::Gem::Resolv::IPv4
Address resource
Constant Summary
-
ClassValue =
# File 'lib/rubygems/vendor/resolv/lib/resolv.rb', line 2637IN::ClassValue
-
TypeValue =
# File 'lib/rubygems/vendor/resolv/lib/resolv.rb', line 26361
::Gem::Resolv::DNS::Resource
- Inherited
Class Method Summary
-
.new(address) ⇒ A
constructor
Creates a new
A
for #address. - .decode_rdata(msg) Internal use only
::Gem::Resolv::DNS::Resource
- Inherited
::Gem::Resolv::DNS::Query
- Inherited
Instance Attribute Summary
-
#address
readonly
The
::Gem::Resolv::IPv4
address for thisA
.
::Gem::Resolv::DNS::Resource
- Inherited
#ttl | Remaining Time To Live for this |
Instance Method Summary
- #encode_rdata(msg) Internal use only
::Gem::Resolv::DNS::Resource
- Inherited
::Gem::Resolv::DNS::Query
- Inherited
Constructor Details
.new(address) ⇒ A
Creates a new A
for #address.
Class Method Details
.decode_rdata(msg)
This method is for internal use only.
[ GitHub ]
Instance Attribute Details
#address (readonly)
The ::Gem::Resolv::IPv4
address for this A
.
# File 'lib/rubygems/vendor/resolv/lib/resolv.rb', line 2650
attr_reader :address
Instance Method Details
#encode_rdata(msg)
This method is for internal use only.
[ GitHub ]
# File 'lib/rubygems/vendor/resolv/lib/resolv.rb', line 2652
def encode_rdata(msg) # :nodoc: msg.put_bytes(@address.address) end