diff options
| author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-19 11:35:04 +0000 |
|---|---|---|
| committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-19 11:35:04 +0000 |
| commit | e7cd11f2f8d1a3c1a599b3063d661cec3ba1ea7a (patch) | |
| tree | bff8e2854169d31bc217175c200c8537ad1a718c /array.c | |
| parent | d71fe61a3b1c471821e65282b7978d1d56965519 (diff) | |
merges r20839 from trunk into ruby_1_9_1.
* array.c (rb_ary_pop_m): use enum ary_take_pos_flags.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'array.c')
| -rw-r--r-- | array.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -743,7 +743,7 @@ rb_ary_pop_m(int argc, VALUE *argv, VALUE ary) } rb_ary_modify_check(ary); - result = ary_take_first_or_last(argc, argv, ary, Qtrue); + result = ary_take_first_or_last(argc, argv, ary, ARY_TAKE_LAST); ARY_INCREASE_LEN(ary, -RARRAY_LEN(result)); return result; } |
