Flowdock
method

parse_stream

Importance_1
v1_9_3_125 - Show latest stable - 0 notes - Class: Psych
parse_stream(yaml) public

Parse a YAML string in yaml. Returns the full AST for the YAML document. This method can handle multiple YAML documents contained in yaml.

Example:

Psych.parse_stream("---\n - a\n - b") # => #<Psych::Nodes::Stream:0x00>

See Psych::Nodes for more information about YAML AST.

Show source
Register or log in to add new notes.