Project

General

Profile

Bug #3776 ยป ary_rdoc.patch

dre3k (Andrei Kulakov), 09/01/2010 02:24 AM

View differences:

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
    (1-1/1)