[#70843] Re: [ruby-cvs:58952] hsbt:r51801 (trunk): * lib/rubygems: Update to RubyGems HEAD(fe61e4c112). — Eric Wong <normalperson@...>
hsbt@ruby-lang.org wrote:
3 messages
2015/09/17
[ruby-core:70823] [Ruby trunk - Feature #11527] IPAddr#mask_addr isn't a method
From:
nobu@...
Date:
2015-09-16 00:16:48 UTC
List:
ruby-core #70823
Issue #11527 has been updated by Nobuyoshi Nakada. Tracker changed from Bug to Feature Description updated ---------------------------------------- Feature #11527: IPAddr#mask_addr isn't a method https://bugs.ruby-lang.org/issues/11527#change-54203 * Author: Nicol=C3=A1s Sanguinetti * Status: Open * Priority: Normal * Assignee:=20 ---------------------------------------- Right now there's no way to get the current value of an IP address's mask f= rom an IPAddr instance. While there's an instance variable (`@mask_addr`), = there's no attribute reader to get it's value, and relying on reading the i= nstance variable isn't pretty nice for a stdlib (stable as it might be). Is there any particular reason why this is not public, or would a patch/pul= l request adding the corresponding `attr_reader` be accepted? --=20 https://bugs.ruby-lang.org/