Class

Resolv::IPv4

Inheritance
< Object

A Resolv::DNS IPv4 address.

Constants

Name   Description
Regex = /\A(\d+)\.(\d+)\.(\d+)\.(\d+)\z/ Regular expression IPv4 addresses must match.

Attributes

Name Visibility R/W Description
address public R The raw IPv4 address as a String.

Methods

Class

Visibility Signature
public create (arg)

Instance

Visibility Signature
public to_name ()

Class Method Detail

create(arg)

Instance Method Detail

to_name()

Turns this IPv4 address into a Resolv::DNS::Name.