U:RDoc::NormalClass[iI" Stream:ETI"Psych::Stream;TI"Psych::Visitors::YAMLTree;Fo:RDoc::Markup::Document: @parts[o;;[o:RDoc::Markup::Paragraph;[I"OPsych::Stream is a streaming YAML emitter. It will not buffer your YAML, ;TI"#but send it straight to an IO.;To:RDoc::Markup::BlankLineo; ;[I"Here is an example use:;T@o:RDoc::Markup::Verbatim;[ I")stream = Psych::Stream.new($stdout) ;TI"stream.start ;TI""stream.push({:foo => 'bar'}) ;TI"stream.finish ;T: @format0o; ;[I"CYAML will be immediately emitted to $stdout with no buffering.;T@o; ;[I"PPsych::Stream#start will take a block and ensure that Psych::Stream#finish ;TI"(is called, so you can do this form:;T@o; ;[ I")stream = Psych::Stream.new($stdout) ;TI"stream.start do |em| ;TI" em.push(:foo => 'bar') ;TI"end;T; 0: @fileI""ext/psych/lib/psych/stream.rb;T:0@omit_headings_from_table_of_contents_below0; 0;0[[[[I"Psych::Streaming;To;;[; @);0I""ext/psych/lib/psych/stream.rb;T[[I" class;T[[: public[[:protected[[: private[[I" instance;T[[;[[;[[;[[[I"#Psych::Streaming::ClassMethods;To;;[; @);0@1[U:RDoc::Context::Section[i0o;;[; 0;0[@)I" Psych;FcRDoc::NormalModule