1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Documentation cleanup.

Includes patches by Hugh Sasse:
* ping.rb
* weakref.rb
* mailread.rb


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
drbrain 2006-08-04 18:05:50 +00:00
parent 4db2df633c
commit 52c034aecb
34 changed files with 334 additions and 321 deletions

View file

@ -3,19 +3,24 @@
# which IO#popen does not allow)
#
# Usage:
# require "open3"
#
# stdin, stdout, stderr = Open3.popen3('nroff -man')
# or
# include Open3
# stdin, stdout, stderr = popen3('nroff -man')
# require "open3"
#
# stdin, stdout, stderr = Open3.popen3('nroff -man')
#
# popen3 can also take a block which will receive stdin, stdout and stderr
# as parameters. This ensures stdin, stdout and stderr are closed once
# the block exits.
# or:
#
# Such as
# Open3.popen3('nroff -man') { |stdin, stdout, stderr| ... }
# include Open3
#
# stdin, stdout, stderr = popen3('nroff -man')
#
# popen3 can also take a block which will receive stdin, stdout and stderr as
# parameters. This ensures stdin, stdout and stderr are closed once the block
# exits.
#
# Such as:
#
# Open3.popen3('nroff -man') { |stdin, stdout, stderr| ... }
module Open3
#[stdin, stdout, stderr] = popen3(command);