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

Parent:
Resolv::DNS::Resource

IPv4 Address resource

Constants

ClassValue
TypeValue

Attributes

address[R]

The Resolv::IPv4 address for this A.

Public Class Methods

new(address) Show source
# File lib/resolv.rb, line 2175
def initialize(address)
  @address = IPv4.create(address)
end

Creates a new A for address.

Ruby Core © 1993–2017 Yukihiro Matsumoto
Licensed under the Ruby License.
Ruby Standard Library © contributors
Licensed under their own licenses.