[前][次][番号順一覧][スレッド一覧]

ruby-changes:63855

From: Jeremy <ko1@a...>
Date: Thu, 3 Dec 2020 15:28:55 +0900 (JST)
Subject: [ruby-changes:63855] 29c9588e7e (master): Add Proc#{==, eql?} addition to NEWS [ci skip]

https://git.ruby-lang.org/ruby.git/commit/?id=29c9588e7e

From 29c9588e7ec4fcc36c91b3783dfbfe86a4d104bf Mon Sep 17 00:00:00 2001
From: Jeremy Evans <code@j...>
Date: Wed, 2 Dec 2020 22:27:54 -0800
Subject: Add Proc#{==,eql?} addition to NEWS [ci skip]


diff --git a/NEWS.md b/NEWS.md
index 5687c0a..43ad2e9 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -240,6 +240,12 @@ Outstanding ones only. https://github.com/ruby/ruby/blob/trunk/NEWS.md#L240
     * `Kernel.sleep(...)` invokes the scheduler hook `#kernel_sleep(...)` in a
       non-blocking execution context. [[Feature #16786]]
 
+* Proc
+
+    * `Proc#==` and `Proc#eql?` are now defined and will return true for
+      separate Proc instances if the procs were created from the same block.
+      [[Feature #14267]]
+
 * IO
 
     * `IO#nonblock?` now defaults to `true`. [[Feature #16786]]
@@ -600,6 +606,7 @@ end https://github.com/ruby/ruby/blob/trunk/NEWS.md#L606
 [Bug #13768]:     https://bugs.ruby-lang.org/issues/13768
 [Feature #14183]: https://bugs.ruby-lang.org/issues/14183
 [Bug #14266]:     https://bugs.ruby-lang.org/issues/14266
+[Feature #14267]: https://bugs.ruby-lang.org/issues/14267
 [Feature #14413]: https://bugs.ruby-lang.org/issues/14413
 [Bug #14541]:     https://bugs.ruby-lang.org/issues/14541
 [Feature #14722]: https://bugs.ruby-lang.org/issues/14722
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]