From 102ec7f4ca681d46bf4d835744880b4e890cb592 Mon Sep 17 00:00:00 2001 From: stomar Date: Sun, 21 May 2017 19:29:58 +0000 Subject: [PATCH] NEWS: String#{casecmp,casecmp?} [Bug #13312] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- NEWS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/NEWS b/NEWS index 7dfcf8da7d..8088274f79 100644 --- a/NEWS +++ b/NEWS @@ -72,6 +72,8 @@ with all sufficient information, see the ChangeLog file or Redmine strings remain unchanged for compatibility. [Feature #13077] * -"literal" (String#-@) optimized to return the same object (same as "literal".freeze in Ruby 2.1+) [Feature #13295] + * String#{casecmp,casecmp?} now return nil for non-string arguments + instead of raising a TypeError. [Bug #13312] === Stdlib updates (outstanding ones only)