Skip to content

Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →

instance method

IPAddr#zone_id=

zone_id=(zid)

Returns the IPv6 zone identifier, if present. Raises InvalidAddressError if not an IPv6 address.

See also #zone_id #wildcard_mask also in 4.0 · 3.4 · 3.3 · 3.2 · 3.1