From: redmine@... Date: 2011-04-13T21:14:59+09:00 Subject: [ruby-core:35736] [Ruby 1.9 - Feature #4569] Replace IPAddr with IPAddress Issue #4569 has been updated by Marco Ceresa. Jonas Pfenniger wrote: > Hi Marco, awesome lib. Thank you Jonas > * IPAddr#[] and IPAddr#each don't hold the same elements, could it be a source of confusion ? Never thought about that, but it's a good point. IPv4#[] is an alias to IPv4#octet, just some syntax sugar, could be easily removed if we think it may lead to confusion. > * Is it possible to avoid extending the ruby core ? It is possible indeed, especially if that's a requirement for the replacement. I chose to extend the core to make some algorithms much clearer, but nothing prevents to make them private methods and removing the extensions. Do you feel it would be better? Regards, Marco ---------------------------------------- Feature #4569: Replace IPAddr with IPAddress http://redmine.ruby-lang.org/issues/4569 Author: Marco Ceresa Status: Assigned Priority: Normal Assignee: Akinori MUSHA Category: lib Target version: Hello, following the discussion we had a few months ago about replacing IPAddr with IPAddress [1]. Here is the formal request. IPAddress is now at version 0.7.5 URL: https://github.com/bluemonk/ipaddress I think it's mature and backward compatible enough to be taken into consideration. Regards, Marco [1] http://groups.google.com/group/ruby-core-google/browse_frm/thread/232ac6b06bacd0f5/ -- http://redmine.ruby-lang.org