Flowdock
method

take

Importance_1
take(p1) public

Returns first n elements from ary.

a = [1, 2, 3, 4, 5, 0]
a.take(3)             #=> [1, 2, 3]
Show source
Register or log in to add new notes.