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

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
knu 2008-05-29 13:49:15 +00:00
parent 88c1862edb
commit 256edc39b0

View File

@ -8,7 +8,7 @@ Incompatible (Severe)
o New semantics for block arguments o New semantics for block arguments
o Block local variables o Block local variables
* Array * Array
o Array#nitems was removed (use count {|i| i}) o Array#nitems was removed (use count {|i| !i.nil?})
* String * String
o No longer an Enumerable o No longer an Enumerable
o ?c semantics o ?c semantics