summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-04-09 11:55:24 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-04-09 11:55:24 +0000
commit6584020a5735606b9ea3f7d58408fe886b93cb98 (patch)
tree4df08723dd5ee3511448d3d6bcfb48c3c86b5e55
parentc5827ca193babcfce745e429eb46dc4251ab4080 (diff)
Update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog2
-rw-r--r--NEWS5
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 41b4ca129b..95d7136c00 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,7 @@
Wed Apr 9 20:47:16 2008 Akinori MUSHA <knu@iDaemons.org>
* array.c (rb_ary_index, rb_ary_index): Array#index and #rindex
- take a block instead of an argument; backported from 1.9.
+ can take a block instead of an argument; backported from 1.9.
Wed Apr 9 19:58:31 2008 Akinori MUSHA <knu@iDaemons.org>
diff --git a/NEWS b/NEWS
index 8bad42c6b6..67c734987a 100644
--- a/NEWS
+++ b/NEWS
@@ -21,6 +21,11 @@ with all sufficient information, see the ChangeLog file.
determine if each element should be counted instead of checking if
the element is non-nil.
+ * Array#index
+ * Array#rindex
+
+ Take a block instead of an argument.
+
* Integer#ord implemented.
* Integer#odd? implemented.
* Integer#even? implemented.