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

ruby-changes:71205

From: Akinori <ko1@a...>
Date: Fri, 18 Feb 2022 11:56:37 +0900 (JST)
Subject: [ruby-changes:71205] ac32b7023a (master): Mention Set as a new builtin class to NEWS

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

From ac32b7023a7743b1f0cdcfe11156c95c0edb7c54 Mon Sep 17 00:00:00 2001
From: Akinori MUSHA <knu@i...>
Date: Thu, 17 Feb 2022 18:10:16 +0900
Subject: Mention Set as a new builtin class to NEWS

---
 NEWS.md | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/NEWS.md b/NEWS.md
index 609780555c..62f1786d92 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -67,6 +67,10 @@ Note: We're only listing outstanding class updates. https://github.com/ruby/ruby/blob/trunk/NEWS.md#L67
 * Refinement
     * Refinement#refined_class has been added. [[Feature #12737]]
 
+* Set
+    * Set is now available as a builtin class without the need for `require "set"`. [[Feature #16989]]
+      It is currently autoloaded via the `Set` constant or a call to `Enumerable#to_set`.
+
 * Struct
     * A Struct class can also be initialized with keyword arguments
       without `keyword_init: true` on `Struct.new` [[Feature #16806]]
@@ -154,6 +158,7 @@ The following deprecated APIs are removed. https://github.com/ruby/ruby/blob/trunk/NEWS.md#L158
 [Feature #16131]: https://bugs.ruby-lang.org/issues/16131
 [Feature #16806]: https://bugs.ruby-lang.org/issues/16806
 [Bug #16908]:     https://bugs.ruby-lang.org/issues/16908
+[Feature #16989]: https://bugs.ruby-lang.org/issues/16989
 [Feature #17351]: https://bugs.ruby-lang.org/issues/17351
 [Feature #17391]: https://bugs.ruby-lang.org/issues/17391
 [Bug #17545]:     https://bugs.ruby-lang.org/issues/17545
-- 
cgit v1.2.1


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

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