method

dump_stream

v1_8_6_287 - 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
        --- []
        --- {}