From 256edc39b0586f0251e80d2b181cbd14f2ee6d9e Mon Sep 17 00:00:00 2001 From: knu Date: Thu, 29 May 2008 13:49:15 +0000 Subject: [PATCH] Fix: nitem == count {|i| !i.nil?} git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- doc/NEWS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/NEWS b/doc/NEWS index 9c3d4cf1c5..57cb8bc21b 100644 --- a/doc/NEWS +++ b/doc/NEWS @@ -8,7 +8,7 @@ Incompatible (Severe) 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