This method is deprecated or moved on the latest stable version. The last existing version (v1_9_1_378) is shown here.
dump_stream( *objs )
Returns a YAML stream containing each of the items in objs, each having their own document.
YAML.dump_stream( 0, [], {} ) #=> --- 0 --- [] --- {}
# File lib/yaml.rb, line 288 def YAML.dump_stream( *objs ) d = YAML::Stream.new objs.each do |doc| d.add( doc ) end d.emit end