method

dump_stream

Importance_1
Ruby latest stable (v2_5_5) - 0 notes - Class: Psych
dump_stream(*objects) public

Dump a list of objects as separate documents to a document stream.

Example:

Psych.dump_stream("foo\n  ", {}) # => "--- ! \"foo\\n  \"\n--- {}\n"
Show source
Register or log in to add new notes.