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

ruby-changes:15415

From: marcandre <ko1@a...>
Date: Mon, 12 Apr 2010 01:50:42 +0900 (JST)
Subject: [ruby-changes:15415] Ruby:r27310 (trunk): * NEWS: Add {Hash,ENV}#{keep_if,select!}

marcandre	2010-04-12 01:50:33 +0900 (Mon, 12 Apr 2010)

  New Revision: 27310

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

  Log:
    * NEWS: Add {Hash,ENV}#{keep_if,select!}

  Modified files:
    trunk/NEWS

Index: NEWS
===================================================================
--- NEWS	(revision 27309)
+++ NEWS	(revision 27310)
@@ -72,6 +72,9 @@
   * ENV
     * Uses locale's encoding
     * ENV.[]= raises Errno::{EINVAL,ENOMEM} etc. on failure.
+    * new methods:
+      * ENV.keep_if
+      * ENV.select!
 
   * Float
     * new constants:
@@ -87,6 +90,11 @@
     * new method:
       * GC::Profiler.total_time
 
+  * Hash
+    * new methods:
+      * Hash#keep_if
+      * Hash#select!
+
   * IO
     * new method:
       * IO#autoclose=

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

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