ruby-changes:43537
From: shugo <ko1@a...>
Date: Fri, 8 Jul 2016 08:46:56 +0900 (JST)
Subject: [ruby-changes:43537] shugo:r55610 (trunk): * io.c (rb_io_s_read): add description of pipes to the documentation
shugo 2016-07-08 08:46:51 +0900 (Fri, 08 Jul 2016) New Revision: 55610 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55610 Log: * io.c (rb_io_s_read): add description of pipes to the documentation of IO.read. Modified files: trunk/ChangeLog trunk/io.c Index: io.c =================================================================== --- io.c (revision 55609) +++ io.c (revision 55610) @@ -9848,6 +9848,9 @@ seek_before_access(VALUE argp) https://github.com/ruby/ruby/blob/trunk/io.c#L9848 * +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: Index: ChangeLog =================================================================== --- ChangeLog (revision 55609) +++ ChangeLog (revision 55610) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Fri Jul 8 08:43:31 2016 Shugo Maeda <shugo@r...> + + * 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@r...> * vm_args.c (setup_parameters_complex): don't raise ArgumentError -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/