123456789_123456789_123456789_123456789_123456789_

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

Class Method Summary

Instance Attribute Summary

::Resolv::DNS::Resource - Inherited

#ttl

Remaining Time To Live for this ::Resolv::DNS::Resource.

Constructor Details

.new(address) ⇒ A

Creates a new A for #address.

[ GitHub ]

  
# File 'lib/resolv.rb', line 2135

def initialize(address)
  @address = IPv4.create(address)
end

Instance Attribute Details

#address (readonly)

The ::Resolv::IPv4 address for this A.

[ GitHub ]

  
# File 'lib/resolv.rb', line 2142

attr_reader :address