From: ruby@... Date: 2018-03-12T20:42:15+00:00 Subject: [ruby-core:86090] [Ruby trunk Feature#11210] IPAddr has no public method to get the current subnet mask Issue #11210 has been updated by herwin (Herwin W). https://github.com/ruby/ipaddr/commit/293ad5ac6ed704f91d418ecaf24ae58156a587e7 fixes this in the ipaddr gem. Good enough for me, I guess this issue can be closed. ---------------------------------------- Feature #11210: IPAddr has no public method to get the current subnet mask https://bugs.ruby-lang.org/issues/11210#change-70959 * 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: