ary_rdoc.patch

Andrei Kulakov, 09/01/2010 02:24 AM

Download (365 Bytes)

View differences:

array.c 2010-08-31 05:36:12.844565473 +0300
1897 1897

  
1898 1898
/*
1899 1899
 *  call-seq:
1900
 *     ary.rotate([n = 1]) -> new_ary
1900
 *     ary.rotate([cnt = 1]) -> new_ary
1901 1901
 *
1902 1902
 *  Returns new array by rotating +self+, whose first element is the
1903 1903
 *  element at +cnt+ in +self+.  If +cnt+ is negative then it rotates