Type:
Class
Constants:
ANY : 0

Any Map Style

BLOCK : 1

Block Map Style

FLOW : 2

Flow Map Style

This class represents a YAML Mapping.

A Psych::Nodes::Mapping node may have 0 or more children, but must have an even number of children. Here are the valid children a Psych::Nodes::Mapping node may have:

new
  • References/Ruby on Rails/Ruby/Classes/Psych/Psych::Nodes/Psych::Nodes::Mapping

new(anchor = nil, tag = nil, implicit = true, style = BLOCK) Class Public methods Create

2025-01-10 15:47:30