IO.pipe â [read_io, write_io]IO.pipe(ext_enc) â [read_io, write_io]IO.pipe("ext_enc:int_enc" [, opt]) â [read_io, write_io]IO.pipe(ext_enc, int_enc [, opt]) â [read_io, write_io]IO.pipe(...) {|read_io, write_io| ... }
Class Public methods
Creates a pair of pipe endpoints (connected to each other) and returns them
as a two-element array of IO objects: [
read_io, write_io ].
If a block is given, the block is called and returns th