Skip to content

class YAML::Nodes::Sequence
inherits YAML::Nodes::Node

A sequence of nodes.

Included modules

Enumerable

Methods

#<<(node)

Appends a node into this sequence.

View source

#each

Must yield this collection's elements to the block.

View source

#kind : String

Returns the kind of this node, which is equivalent to the class name.

View source

#nodes : Array(YAML::Nodes::Node)

The nodes in this sequence.

View source

#style : SequenceStyle

The style of this sequence.

View source

#style=(style : SequenceStyle)

The style of this sequence.

View source

#to_yaml(builder : YAML::Builder)

View source