method
new
v2_4_6 -
Show latest stable
- Class:
Psych::Nodes::Scalar
new(value, anchor = nil, tag = nil, plain = true, quoted = false, style = ANY)public
Create a new Psych::Nodes::Scalar object.
value is the string value of the scalar anchor is an associated anchor or nil tag is an associated tag or nil plain is a boolean value quoted is a boolean value style is an integer idicating the string style
See Also
See also Psych::Handler#scalar