method
scalar
v2_1_10 -
Show latest stable
- Class:
Psych::TreeBuilder
scalar(value, anchor, tag, plain, quoted, style)public
No documentation available.
# File ext/psych/lib/psych/tree_builder.rb, line 74
def scalar value, anchor, tag, plain, quoted, style
s = Nodes::Scalar.new(value,anchor,tag,plain,quoted,style)
@last.children << s
s
end