scalar(value, anchor, tag, plain, quoted, style)
Instance Public methods
Called when a scalar value is found. The scalar may have an
anchor, a tag, be implicitly plain
or implicitly quoted
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 the constants in Psych::Nodes::Scalar
for the possible values of style
Example
Here