Skip to content
class method

Resolv::IPv6.create

(::String | instance arg) -> instance
create(arg)

Creates a new IPv6 address from arg which may be:

IPv6

returns arg.

String

arg must match one of the IPv6::Regex* constants

See also #to_name also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0