method

dump_stream

Importance_1
v2_6_3 - Show latest stable - 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.