U:RDoc::AnyMethod[iI"close_write:ETI"IO#close_write;TF: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"JCloses the write end of a duplex I/O stream (i.e., one that contains ;TI"Dboth a read and a write stream, such as a pipe). Will raise an ;TI"8IOError if the stream is not duplexed.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I""f = IO.popen("/bin/sh","r+") ;TI"f.close_write ;TI"f.print "nowhere" ;T: @format0o; ; [I"produces:;T@o; ; [I" nil ;T0[I"();T@FI"IO;TcRDoc::NormalClass00