new(anchor=nil, tag=nil, implicit=true, style=BLOCK) -> Psych::Nodes::SequenceRuby 1.9.3 から[permalink][rdoc][edit]-
新たな sequence オブジェクトを生成します。
anchor には sequence に付加されている anchor を文字列で指定します。 anchor を付けない場合には nil を指定します。
tag には sequence に付加されている tag を文字列で指定します。 tag を付けない場合には nil を指定します。
implicit には sequence が implicit に開始されたかどうかを真偽値で指定します。
style には YAML ドキュメント上の style を整数で指定します。以下のいずれかを指定できます。
- [PARAM]
anchor: - sequence に付加された anchor
- [PARAM]
tag: - sequence に付加された tag
- [PARAM]
implicit: - sequence が implicit に開始されたかどうか
- [PARAM]
style: - YAML ドキュメント上の style
- [PARAM]