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

* 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
This commit is contained in:
shugo 2016-07-07 23:46:51 +00:00
parent c016898e79
commit ceca045485
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,8 @@
Fri Jul 8 08:43:31 2016 Shugo Maeda <shugo@ruby-lang.org>
* io.c (rb_io_s_read): add description of pipes to the documentation
of IO.read.
Fri Jul 8 03:54:22 2016 NARUSE, Yui <naruse@ruby-lang.org> Fri Jul 8 03:54:22 2016 NARUSE, Yui <naruse@ruby-lang.org>
* vm_args.c (setup_parameters_complex): don't raise ArgumentError * vm_args.c (setup_parameters_complex): don't raise ArgumentError

3
io.c
View file

@ -9848,6 +9848,9 @@ seek_before_access(VALUE argp)
* +length+ bytes (defaulting to the rest of the file). <code>read</code> * +length+ bytes (defaulting to the rest of the file). <code>read</code>
* ensures the file is closed before returning. * 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 * === Options
* *
* The options hash accepts the following keys: * The options hash accepts the following keys: