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

ruby-changes:55610

From: Nobuyoshi <ko1@a...>
Date: Mon, 29 Apr 2019 10:13:47 +0900 (JST)
Subject: [ruby-changes:55610] Nobuyoshi Nakada:6033423d68 (trunk): NEWS: Moved "Integer#[] with range" to "Core classes updates"

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

From 6033423d6882546e132a450ab9efc66507879594 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Mon, 29 Apr 2019 10:11:44 +0900
Subject: NEWS: Moved "Integer#[] with range" to "Core classes updates"


diff --git a/NEWS b/NEWS
index 9376af0..c92edb4 100644
--- a/NEWS
+++ b/NEWS
@@ -42,13 +42,6 @@ sufficient information, see the ChangeLog file or Redmine https://github.com/ruby/ruby/blob/trunk/NEWS#L42
 * Setting <code>$,</code> to non-nil value is warned now.  Use of it in
   Array#join is warned too.
 
-* <code>Integer#[]</code> now supports range operation.  [Feature #8842]
-
-     0b01001101[2, 4]  #=> 0b0011
-     0b01001100[2..5]  #=> 0b0011
-     0b01001100[2...6] #=> 0b0011
-         ^^^^
-
 === Core classes updates (outstanding ones only)
 
 Enumerable::
@@ -65,6 +58,17 @@ Enumerator:: https://github.com/ruby/ruby/blob/trunk/NEWS#L58
       can be directly passed to another method as a block
       argument.  [Feature #15618]
 
+Integer::
+
+  Modified method::
+
+    * Integer#[] now supports range operation.  [Feature #8842]
+
+         0b01001101[2, 4]  #=> 0b0011
+         0b01001100[2..5]  #=> 0b0011
+         0b01001100[2...6] #=> 0b0011
+             ^^^^
+
 Regexp/String::
 
     * Update Unicode version and Emoji version from 11.0.0 to
-- 
cgit v0.10.2


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

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