ruby-changes:46721
From: stomar <ko1@a...>
Date: Mon, 22 May 2017 04:30:02 +0900 (JST)
Subject: [ruby-changes:46721] stomar:r58838 (trunk): NEWS: String#{casecmp, casecmp?} [Bug #13312]
stomar 2017-05-22 04:29:58 +0900 (Mon, 22 May 2017) New Revision: 58838 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58838 Log: NEWS: String#{casecmp,casecmp?} [Bug #13312] Modified files: trunk/NEWS Index: NEWS =================================================================== --- NEWS (revision 58837) +++ NEWS (revision 58838) @@ -72,6 +72,8 @@ with all sufficient information, see the https://github.com/ruby/ruby/blob/trunk/NEWS#L72 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) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/