method

dump_stream

v1_9_1_378 - Show latest stable - Class: YAML
dump_stream( *objs )
public

Returns a YAML stream containing each of the items in objs, each having their own document.

YAML.dump_stream( 0, [], {} )
  #=> --- 0
      --- []
      --- {}