summaryrefslogtreecommitdiff
path: root/doc/NEWS
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-29 13:49:15 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-29 13:49:15 +0000
commit256edc39b0586f0251e80d2b181cbd14f2ee6d9e (patch)
tree4bec9b3072007f91d16ed2703b01942d0e0c3d32 /doc/NEWS
parent88c1862edbcf1578537ba47114bdb2d9336d5cda (diff)
Fix: nitem == count {|i| !i.nil?}
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'doc/NEWS')
-rw-r--r--doc/NEWS2
1 files changed, 1 insertions, 1 deletions
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