method

scalar

ruby 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 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