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 | 69c0b90823d5e5be5f2bbfe6c1460214dea01222 (patch) | |
| tree | 831533a767401ea47a75e23d68a3a060f9571f0c | |
| parent | d45acec2070df32d985614ff5767bc1b971cc7f8 (diff) | |
| download | ruby-69c0b90823d5e5be5f2bbfe6c1460214dea01222.tar.gz ruby-69c0b90823d5e5be5f2bbfe6c1460214dea01222.tar.xz ruby-69c0b90823d5e5be5f2bbfe6c1460214dea01222.zip | |
* array.c (rb_ary_each_index): should return meaningful value.
git-svn-id: http://svn.ruby-lang.org/repos/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 |
