Bug #4858 ยป 0001-minor-grammatical-change-to-better-reflect-the-end-r.patch
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]
|