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