summaryrefslogtreecommitdiffstats
path: root/doc
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
commit59aff7a56a514b7bad91ec675e89630b96d9d833 (patch)
tree4bec9b3072007f91d16ed2703b01942d0e0c3d32 /doc
parente1dc7fd2c192259b0f1494369a9e0313192f2891 (diff)
downloadruby-59aff7a56a514b7bad91ec675e89630b96d9d833.tar.gz
ruby-59aff7a56a514b7bad91ec675e89630b96d9d833.tar.xz
ruby-59aff7a56a514b7bad91ec675e89630b96d9d833.zip
Fix: nitem == count {|i| !i.nil?}
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'doc')
-rw-r--r--doc/NEWS2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/NEWS b/doc/NEWS
index 9c3d4cf1c..57cb8bc21 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