Skip to content

Commit

Permalink
RDoc for Open3
Browse files Browse the repository at this point in the history
  • Loading branch information
BurdetteLamar committed Nov 18, 2023
1 parent 06ac647 commit 8b28aca
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/open3.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1009,7 +1009,7 @@ def pipeline_rw(*cmds, &block)
# see {Execution Environment}[https://docs.ruby-lang.org/en/master/Process.html#module-Process-label-Execution+Environment].
#
# If the last argument is a hash, it becomes trailing argument +options+
# in each call to Process.spawn'
# in each call to Process.spawn;
# see {Execution Options}[https://docs.ruby-lang.org/en/master/Process.html#module-Process-label-Execution+Options].
#
# Each remaining argument in +cmds+ is one of:
Expand All @@ -1034,8 +1034,9 @@ def pipeline_r(*cmds, &block)
end
module_function :pipeline_r


# :call-seq:
# Open3.pipeline_w([env, ] *cmds, options = {}) -> array_of_statuses
# Open3.pipeline_w([env, ] *cmds, options = {}) -> [first_stdin, wait_threads]
#
# Basically a wrapper for
# {Process.spawn}[https://docs.ruby-lang.org/en/master/Process.html#method-c-spawn]
Expand Down Expand Up @@ -1089,7 +1090,7 @@ def pipeline_r(*cmds, &block)
# see {Execution Environment}[https://docs.ruby-lang.org/en/master/Process.html#module-Process-label-Execution+Environment].
#
# If the last argument is a hash, it becomes trailing argument +options+
# in each call to Process.spawn'
# in each call to Process.spawn;
# see {Execution Options}[https://docs.ruby-lang.org/en/master/Process.html#module-Process-label-Execution+Options].
#
# Each remaining argument in +cmds+ is one of:
Expand Down

0 comments on commit 8b28aca

Please sign in to comment.