summaryrefslogtreecommitdiffstats
path: root/test/ruby/test_array.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-06-16 07:05:24 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-06-16 07:05:24 +0000
commit74a359309c54d69733aa0bbe58781d2836be9f43 (patch)
tree4a275c3f27174069648a0e37351d9b07d8f4bb01 /test/ruby/test_array.rb
parentd04383aa62a2396f55d964214f50940be24ec6f4 (diff)
downloadruby-74a359309c54d69733aa0bbe58781d2836be9f43.tar.gz
ruby-74a359309c54d69733aa0bbe58781d2836be9f43.tar.xz
ruby-74a359309c54d69733aa0bbe58781d2836be9f43.zip
* array.c (ary_new): move alloc behind checks. [ruby-core:02982]
* array.c (rb_ary_pop_m, rb_ary_shift_m): take arg to behave as push and unshift. * array.c (rb_ary_first, rb_ary_last): make shared array for result array, and correct doc for Array#first(n) and Array#last(n) * array.c (rb_ary_select): not accept any arg. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_array.rb')
0 files changed, 0 insertions, 0 deletions