diff options
author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-05 13:53:38 +0000 |
---|---|---|
committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-05 13:53:38 +0000 |
commit | 2d8841791facb07155c710d8a7db7b0bf8be0d21 (patch) | |
tree | 050e10063c3ceff4fecaeaec4c333fe497e4d6cb /NEWS | |
parent | 9cbd6ee09770be3d73a17ab1195a094c59c9f9ee (diff) | |
download | ruby-2d8841791facb07155c710d8a7db7b0bf8be0d21.tar.gz |
IPAddr#== and IPAddr#<=> no longer raise an exception if coercion fails
* lib/ipaddr.rb (IPAddr#==): If coercion fails, return false
instead of passing through the exception. [ruby-core:77451]
[Bug #12799]
* lib/ipaddr.rb (IPAddr#<=>): If coercion fails, return nil
instead of passing through the exception. [ruby-core:77451]
[Bug #12799]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -181,6 +181,11 @@ with all sufficient information, see the ChangeLog file or Redmine * Add a liberal_parsing option. [Feature #11839] +* IPAddr + + * IPAddr#== and IPAddr#<=> no longer raise an exception if coercion fails. + [Bug #12799] + * Logger * Allow specifying logger parameters in constructor such |