diff options
author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-28 09:12:28 +0000 |
---|---|---|
committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-28 09:12:28 +0000 |
commit | 8f706b2d44256d9f37631887a40c769d524374db (patch) | |
tree | 2dce5a0db0676e66e076dfdc39b5265bc6aa6cd0 /doc | |
parent | e2db8af8a3c3968466a4d6c66db08ab342274b75 (diff) |
* array.c (rb_ary_nitems, Init_Array): Axe Array#nitems().
cf. [ruby-dev:34676]-[ruby-dev:34713]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'doc')
-rw-r--r-- | doc/NEWS | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -7,6 +7,8 @@ Incompatible (Severe) o Block arguments o New semantics for block arguments o Block local variables + * Array + o Array#nitems was removed (use count {|i| i}) * String o No longer an Enumerable o ?c semantics @@ -33,7 +35,6 @@ Incompatible (Trivial) o SecurityError o Removed Exception#to_str [Ruby2] * Array - o Array#nitems o Array#[m,n] = nil places nil in the array. * Hash o Hash#to_s is equivalent to Hash#inspect |