Support for the Ruby 2.4 series has ended. See here for reference.

In Files

  • resolv.rb

Methods

Resolv::DNS::Resource::IN::A

IPv4 Address resource

Constants

ClassValue
TypeValue

Attributes

address[R]

The Resolv::IPv4 address for this A.

Public Class Methods

new(address) click to toggle source

Creates a new A for address.

 
               # File resolv.rb, line 2140
def initialize(address)
  @address = IPv4.create(address)
end