Ruby 2.4

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

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

Parent:Resolv::DNS::Resource

IPv4地址资源

常量

ClassValue类型值

属性

addressR

此答案的Resolv :: IPv4地址。

公共类方法

新(地址)显示源

创建一个新的 address

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