diff options
author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-07 12:40:45 +0000 |
---|---|---|
committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-07 12:40:45 +0000 |
commit | 86d05f81fd01c674ace8290e376c026c35b07d2c (patch) | |
tree | f143b93ef9a9978593e7aa65e987b370082018a5 /NEWS | |
parent | 5e644b81b79622a9ebae2d452509a05832b16d08 (diff) |
* array.c (rb_ary_nitems): Backport Array#nitems with a block;
suggested by Bertram Scharpf <lists@bertram-scharpf.de> in
[ruby-talk:134083].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -17,6 +17,10 @@ with all sufficient information, see the ChangeLog file. * builtin classes + * Array#nitems now takes a block optionally, which is used to + determine if each element should be counted instead of checking if + the element is non-nil. + * Integer#ord implemented. * Integer#odd? implemented. * Integer#even? implemented. |