| Server IP : 162.214.74.102 / Your IP : 216.73.217.21 Web Server : Apache System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 User : lrsys ( 1015) PHP Version : 5.6.40 Disable Function : exec,passthru,shell_exec,system MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/self/root/opt/cpanel/ea-ruby24/root/usr/share/ri/system/Psych/Stream/ |
Upload File : |
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::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;;[ ;
@);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[i 0o;;[ ;
0;0[@)I"
Psych;FcRDoc::NormalModule