Project

General

Profile

Bug #4858 ยป 0001-minor-grammatical-change-to-better-reflect-the-end-r.patch

caleywoods (Caley Woods), 06/10/2011 12:35 AM

View differences:

array.c
* call-seq:
* ary.drop(n) -> new_ary
*
* Drops first n elements from <i>ary</i>, and returns rest elements
* in an array.
* Drops first n elements from <i>ary</i>, and returns the rest of
* the elements in an array.
*
* a = [1, 2, 3, 4, 5, 0]
* a.drop(3) #=> [4, 5, 0]
    (1-1/1)