method

yaml

ruby latest stable - Class: Psych::Nodes::Node
yaml(io = nil, options = {})
public

Convert this node to YAML.

See also Psych::Visitors::Emitter