Type:
Class
Constants:
ANY : 0

Any style scalar, the emitter chooses

PLAIN : 1

Plain scalar style

SINGLE_QUOTED : 2

Single quoted style

DOUBLE_QUOTED : 3

Double quoted style

LITERAL : 4

Literal style

FOLDED : 5

Folded style

This class represents a YAML Scalar.

This node type is a terminal node and should not have any children.

new

new(value, anchor = nil, tag = nil, plain = true, quoted = false, style = ANY) Class Public methods

2015-04-29 08:15:06