W3cubDocs

/Ruby 2.4

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

Creates a new A for address.

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

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