struct

BSONCr::DocumentArray

Inherits Enumerable < BSONCr::ADocument < Struct < Value < Object

Instance methods

each

Must yield this collection's elements to the block.

Source
to_a

Returns an Array with all the elements in the collection.

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