W3cubDocs

/Ruby 3

class Resolv::DNS::Resource::IN::AAAA

Parent:
Resolv::DNS::Resource

An IPv6 address record.

Constants

ClassValue
TypeValue

Attributes

address[R]

The Resolv::IPv6 address for this AAAA.

Public Class Methods

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

Creates a new AAAA for address.

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