method

visit_Symbol

visit_Symbol(o)
public

No documentation available.

# File ext/psych/lib/psych/visitors/yaml_tree.rb, line 408
      def visit_Symbol o
        if o.empty?
          @emitter.scalar "", nil, '!ruby/symbol', false, false, Nodes::Scalar::ANY
        else
          @emitter.scalar ":#{o}", nil, nil, true, false, Nodes::Scalar::ANY
        end
      end