class Gem::Resolv::DNS::Resource::IN::A - rubygems: Ruby Standard Library Documentation

# class Gem::Resolv::DNS::Resource::IN::A

`IPv4` Address resource

### Constants

ClassValue
TypeValue

### Attributes

address[R]

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

### Public Class Methods

new(address) click to toggle source

Creates a new `A` for `address`.

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