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

ruby-changes:5189

From: knu <ko1@a...>
Date: Thu, 29 May 2008 22:49:22 +0900 (JST)
Subject: [ruby-changes:5189] Ruby:r16684 (trunk): Fix: nitem == count {|i| !i.nil?}

knu	2008-05-29 22:49:15 +0900 (Thu, 29 May 2008)

  New Revision: 16684

  Modified files:
    trunk/doc/NEWS

  Log:
    Fix: nitem == count {|i| !i.nil?}


  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/doc/NEWS?r1=16684&r2=16683&diff_format=u

Index: doc/NEWS
===================================================================
--- doc/NEWS	(revision 16683)
+++ doc/NEWS	(revision 16684)
@@ -8,7 +8,7 @@
           o New semantics for block arguments
           o Block local variables
     * Array
-          o Array#nitems was removed (use count {|i| i})
+          o Array#nitems was removed (use count {|i| !i.nil?})
     * String
           o No longer an Enumerable
           o ?c semantics

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

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