singleton method Psych.load_stream
load_stream(yaml)
-
[TODO]
Load multiple documents given in +yaml+. Returns the parsed documents as a list. For example:
Psych.load_stream("--- foo\n...\n--- bar\n...") # => ['foo', 'bar']
module Psych
load_stream(yaml)
[TODO]
Load multiple documents given in +yaml+. Returns the parsed documents as a list. For example:
Psych.load_stream("--- foo\n...\n--- bar\n...") # => ['foo', 'bar']