method

load_stream

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

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']
Show source
Register or log in to add new notes.