Project

General

Profile

Actions

Feature #11210

closed

IPAddr has no public method to get the current subnet mask

Added by herwinw (Herwin Quarantainenet) almost 7 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
[ruby-core:69447]

Description

Both to_s and to_string omit the subnet mask of an IP address. The only way to query it via public methods is to manually parse the output of inspect.


Related issues 1 (1 open0 closed)

Related to Ruby master - Feature #11527: IPAddr#mask_addr isn't a methodAssignedknu (Akinori MUSHA)Actions
Actions

Also available in: Atom PDF