mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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:
parent
88c1862edb
commit
256edc39b0
1 changed files with 1 additions and 1 deletions
2
doc/NEWS
2
doc/NEWS
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue