instance method
Psych::TreeBuilder#scalar
scalar(value, anchor, tag, plain, quoted, style)
ext/psych/lib/psych/tree_builder.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/ext/psych/lib/psych/tree_builder.rb, line 96
def scalar value, anchor, tag, plain, quoted, style
s = Nodes::Scalar.new(value,anchor,tag,plain,quoted,style)
set_location(s)
@last.children << s
s
end
No documentation available