diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-07-01 22:34:59 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-07-01 22:34:59 +0000 |
commit | 056ee295f55569a10c552bde1659db3a4672713a (patch) | |
tree | 90b3b184256c0455400a12040e6b765f41f5a3bf /array.c | |
parent | a1e357408e7b02df533f50845806f658e19b85a8 (diff) |
* array.c (ary_reject): fix internal function name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@32364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'array.c')
-rw-r--r-- | array.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2210,7 +2210,7 @@ ary_reject(orig, result) for (i = 0; i < RARRAY_LEN(orig); i++) { VALUE v = RARRAY_PTR(orig)[i]; if (!RTEST(rb_yield(v))) { - rb_ary_push_1(result, v); + rb_ary_push(result, v); } else { rejected = 1; |