ruby-cvs:23031
From: mame ruby-lang.org
Date: Mon, 17 Mar 2008 22:28:48 +0900 (JST)
Subject: [ruby-cvs:23031] Ruby:r15791 (trunk): * array.c (rb_ary_take, rb_ary_take_while, rb_ary_drop,
mame 2008-03-17 22:28:46 +0900 (Mon, 17 Mar 2008)
New Revision: 15791
Modified files:
trunk/ChangeLog
trunk/array.c
trunk/test/ruby/test_array.rb
Log:
* array.c (rb_ary_take, rb_ary_take_while, rb_ary_drop,
rb_ary_drop_while): new method. [ruby-dev:34067]
* test/ruby/test_array.rb: add tests for above.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/array.c?r1=15791&r2=15790&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=15791&r2=15790&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/test/ruby/test_array.rb?r1=15791&r2=15790&diff_format=u