method
new
v2_2_9 -
Show latest stable
- Class:
Psych::Nodes::Sequence
new(anchor = nil, tag = nil, implicit = true, style = BLOCK)public
Create a new object representing a YAML sequence.
anchor is the anchor associated with the sequence or nil. tag is the tag associated with the sequence or nil. implicit a boolean indicating whether or not the sequence was implicitly started. style is an integer indicating the list style.