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

ruby-changes:7010

From: knu <ko1@a...>
Date: Tue, 12 Aug 2008 18:23:25 +0900 (JST)
Subject: [ruby-changes:7010] Ruby:r18528 (trunk): Mention the Array#choice removal and the Array#delete change.

knu	2008-08-12 18:23:19 +0900 (Tue, 12 Aug 2008)

  New Revision: 18528

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=18528

  Log:
    Mention the Array#choice removal and the Array#delete change.

  Modified files:
    trunk/doc/NEWS

Index: doc/NEWS
===================================================================
--- doc/NEWS	(revision 18527)
+++ doc/NEWS	(revision 18528)
@@ -9,6 +9,7 @@
           o Block local variables
     * Array
           o Array#nitems was removed (use count {|i| !i.nil?})
+          o Array#choice was removed (use sample)
     * String
           o No longer an Enumerable
           o ?c semantics
@@ -111,6 +112,8 @@
           o Regexp#match, String#match
     * Fiber: coroutines/micro-threads
     * Array
+          o Array#delete returns a deleted element rather than a given
+            object
           o Array#to_s is equivalent to Array#inspect
           o Array.try_convert
     * Hash

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

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