On this page
End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
class · Ruby 3.2
Psych::Nodes::Scalar
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 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
Read & Write
The tag value (if there is one)
Read & Write
The scalar value