diff options
author | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-07-07 23:46:51 +0000 |
---|---|---|
committer | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-07-07 23:46:51 +0000 |
commit | ac21a4e56ee8a90379ac8a809cf6d6feeb3ae26d (patch) | |
tree | 33f09567bc84ea84f12370683fb5ccac27a3973c /io.c | |
parent | 01c201080383e42c95b2d5780e2df72916dc7476 (diff) | |
download | ruby-ac21a4e56ee8a90379ac8a809cf6d6feeb3ae26d.tar.gz |
* io.c (rb_io_s_read): add description of pipes to the documentation
of IO.read.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -9848,6 +9848,9 @@ seek_before_access(VALUE argp) * +length+ bytes (defaulting to the rest of the file). <code>read</code> * ensures the file is closed before returning. * + * If +name+ starts with a pipe character (<code>"|"</code>), a subprocess is + * created in the same way as Kernel#open, and its output is returned. + * * === Options * * The options hash accepts the following keys: |