Issue #11210 has been updated by Eregon (Benoit Daloze).


@knu: Could you review the PR and decide whether to merge it?

----------------------------------------
Feature #11210: IPAddr has no public method to get the current subnet mask
https://bugs.ruby-lang.org/issues/11210#change-66204

* Author: herwinw (Herwin Quarantainenet)
* Status: Assigned
* Priority: Normal
* Assignee: knu (Akinori MUSHA)
* Target version: 
----------------------------------------
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. 



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>