mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
io.c: Typo close -> closes.
Patch by @cirosantilli [Fixes GH-757] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b75be6b798
commit
512705e62d
1 changed files with 1 additions and 1 deletions
2
io.c
2
io.c
|
@ -6201,7 +6201,7 @@ pipe_open_s(VALUE prog, const char *modestr, int fmode, convconfig_t *convconfig
|
|||
* If a block is given, Ruby will run the command as a child connected
|
||||
* to Ruby with a pipe. Ruby's end of the pipe will be passed as a
|
||||
* parameter to the block.
|
||||
* At the end of block, Ruby close the pipe and sets <code>$?</code>.
|
||||
* At the end of block, Ruby closes the pipe and sets <code>$?</code>.
|
||||
* In this case <code>IO.popen</code> returns
|
||||
* the value of the block.
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue