diff options
author | BurdetteLamar <[email protected]> | 2023-09-29 10:27:59 -0500 |
---|---|---|
committer | git <[email protected]> | 2023-09-29 17:56:00 +0000 |
commit | 4274ebf0f6ced4c9e977c7cf7216e463ec9eb37a (patch) | |
tree | 21d312c6db9a90bd6d29df54a53a4fe9d5f17455 | |
parent | 536f8d901c005d2ceffa70f9825e8ff067e4bbb6 (diff) |
[ruby/open3] [DOC] RDoc for Open3
https://github.com/ruby/open3/commit/a4d9fb99de
-rw-r--r-- | lib/open3.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/open3.rb b/lib/open3.rb index 7f3384b186..2cc93289be 100644 --- a/lib/open3.rb +++ b/lib/open3.rb @@ -495,7 +495,7 @@ module Open3 # - 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>] @@ -516,8 +516,8 @@ module Open3 # - 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. |