class

PyCall::List

Inherits Enumerable < PyCall::PyWrap < Reference < Object

Instance methods

<<(item) : self
Source
each

Must yield this collection's elements to the block.

Source
include?(item) : Bool
Source
length
Source
push(*items) : self
Source
size

Returns the number of elements in the collection.

[1, 2, 3, 4].size # => 4
Source
sort
Source
sort!
Source
to_a

Returns an Array with all the elements in the collection.

(1..5).to_a # => [1, 2, 3, 4, 5]
Source