File: C:/Ruby27-x64/share/ri/2.7.0/system/Psych/Stream/cdesc-Stream.ri
U:RDoc::NormalClass[iI"Stream:ETI"Psych::Stream;TI"Psych::Visitors::YAMLTree;To: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::BlankLine o; ;[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;;[ ;
I""ext/psych/lib/psych/stream.rb;T;0I"0../ruby-2.7.7/ext/psych/lib/psych/stream.rb;T[[I"
class;T[[:public[ [:protected[ [:private[ [I"
instance;T[[;[ [;[ [;[ [[I"#Psych::Streaming::ClassMethods;To;;[ ;
@1;0@2[U:RDoc::Context::Section[i 0o;;[ ;
0;0[@1I"
Psych;TcRDoc::NormalModule