4 # YAML::Stream -- for emitting many documents
8 attr_accessor :documents, :options
10 def initialize( opts = {} )
23 def edit( doc_num, doc )
24 @documents[ doc_num ] = doc
29 # opts[:UseHeader] = true if @documents.length > 1
31 out.reset( io || io2 = StringIO.new )
35 io || ( io2.rewind; io2.read )