diff options
author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-09 11:53:15 +0000 |
---|---|---|
committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-09 11:53:15 +0000 |
commit | c5827ca193babcfce745e429eb46dc4251ab4080 (patch) | |
tree | fcbe525d481d32c65217f015141192aa049f11e9 /ChangeLog | |
parent | da9246cde60286b5b411ff0e9417ad61ca5d9cb9 (diff) |
* array.c (rb_ary_index, rb_ary_index): Array#index and #rindex
take a block instead of an argument; backported from 1.9.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1,8 +1,13 @@ +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. + Wed Apr 9 19:58:31 2008 Akinori MUSHA <knu@iDaemons.org> * enumerator.c, inits.c (rb_call_inits), ruby.h, intern.h, ext/enumerator, common.mk (OBJS, enumerator.$(OBJEXT)): Make the - enumerator module built-in, + enumerator module built-in. * enumerator.c: New method: Enumerable::Enumerator#with_index. |