Skip to content

Commit

Permalink
[DOC] RDoc for Open3
Browse files Browse the repository at this point in the history
  • Loading branch information
BurdetteLamar committed Sep 29, 2023
1 parent 8c06964 commit a4d9fb9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/open3.rb
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ class << self
# - Returns as +status+ a <tt>Process::Status</tt> object
# that represents the exit status of the child process.
#
# With no block given, returns the array <tt>[stdin_s, stdout_a, status]</tt>:
# Returns the array <tt>[stdin_s, stdout_s, status]</tt>:
#
# stdout_s, stderr_s, status = Open3.capture3('echo "Foo"')
# # => ["Foo\n", "", #<Process::Status: pid 2281954 exit 0>]
Expand All @@ -516,8 +516,8 @@ class << self
# - If entry <tt>options[:stdin_data]</tt> exists,
# and its string value is sent to the command's standard input:
#
# Open3.capture3('tee', {:stdin_data => 'Foo'})
# # => ["Foo", "", #<Process::Status: pid 2283204 exit 0>]
# Open3.capture3('tee', :stdin_data => 'Foo')
# # => ["Foo", "", #<Process::Status: pid 2319575 exit 0>]
#
# - If <tt>options[:binmode]</tt> exists,
# the internal streams are set to binary mode.
Expand Down

0 comments on commit a4d9fb9

Please sign in to comment.