method

scalar

scalar(p1, p2, p3, p4, p5, p6)
public

Emit a scalar with value, anchor, tag, and a plain or quoted string type with style.

See Psych::Handler#scalar