From: herwin@... Date: 2015-06-02T15:56:30+00:00 Subject: [ruby-core:69447] [Ruby trunk - Feature #11210] [Open] IPAddr has no public method to get the current subnet mask Issue #11210 has been reported by Herwin .. ---------------------------------------- Feature #11210: IPAddr has no public method to get the current subnet mask https://bugs.ruby-lang.org/issues/11210 * Author: Herwin . * Status: Open * Priority: Low * Assignee: ---------------------------------------- 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/