method

scalar

ruby latest stable - Class: Psych::Emitter
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