method

new

Importance_1
v2_5_5 - Show latest stable - 0 notes - Class: 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

Show source
Register or log in to add new notes.