diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-11-06 18:36:49 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-11-06 18:36:49 +0000 |
commit | d9ebaef79b6137e75d0cc53dd4f8d7136ebea684 (patch) | |
tree | 831533a767401ea47a75e23d68a3a060f9571f0c | |
parent | 23176da722333963c8b6011a527bfc92fb7b6199 (diff) | |
download | ruby-d9ebaef79b6137e75d0cc53dd4f8d7136ebea684.tar.gz |
* array.c (rb_ary_each_index): should return meaningful value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | array.c | 1 |
2 files changed, 5 insertions, 0 deletions
@@ -4,6 +4,10 @@ Wed Nov 7 03:32:38 2007 Yukihiro Matsumoto <matz@ruby-lang.org> nkf conversion. a patch from <moonwolf AT moonwolf.com>. [ruby-dev:32183] +Wed Nov 7 02:59:49 2007 Yukihiro Matsumoto <matz@ruby-lang.org> + + * array.c (rb_ary_each_index): should return meaningful value. + Tue Nov 6 16:37:47 2007 Nobuyoshi Nakada <nobu@ruby-lang.org> * eval_load.c (loaded_feature_path): need to expand relative paths. @@ -1193,6 +1193,7 @@ rb_ary_each_index(VALUE ary) { RETURN_ENUMERATOR(ary, 0, 0); ITERATE(each_index_i, ary); + return ary; } static VALUE |