Skip to content
On this page
class · Ruby 4.0

Psych::Nodes::Scalar

< Psych::Nodes::Node 1 instance methods 1 class methods

This class represents a YAML Scalar.

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

Class methods 1

Instance methods 1

Constants

ANY

Any style scalar, the emitter chooses

Double quoted style

Folded style

Literal style

Plain scalar style

Single quoted style

Attributes
Read & Write

The anchor value (if there is one)

Read & Write

Is this a plain scalar?

Read & Write

Is this scalar quoted?

Read & Write

The style of this scalar

tag

Read & Write

The tag value (if there is one)

Read & Write

The scalar value