Bug #3776 ยป ary_rdoc.patch
array.c 2010-08-31 05:36:12.844565473 +0300 | ||
---|---|---|
/*
|
||
* call-seq:
|
||
* ary.rotate([n = 1]) -> new_ary
|
||
* ary.rotate([cnt = 1]) -> new_ary
|
||
*
|
||
* Returns new array by rotating +self+, whose first element is the
|
||
* element at +cnt+ in +self+. If +cnt+ is negative then it rotates
|