From a4d9fb99deaa9a7b22ac76b2568a11af301f67a3 Mon Sep 17 00:00:00 2001 From: BurdetteLamar Date: Fri, 29 Sep 2023 10:27:59 -0500 Subject: [PATCH] [DOC] RDoc for Open3 --- lib/open3.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/open3.rb b/lib/open3.rb index 7f3384b..2cc9328 100644 --- a/lib/open3.rb +++ b/lib/open3.rb @@ -495,7 +495,7 @@ class << self # - Returns as +status+ a Process::Status object # that represents the exit status of the child process. # - # With no block given, returns the array [stdin_s, stdout_a, status]: + # Returns the array [stdin_s, stdout_s, status]: # # stdout_s, stderr_s, status = Open3.capture3('echo "Foo"') # # => ["Foo\n", "", #] @@ -516,8 +516,8 @@ class << self # - If entry options[:stdin_data] exists, # and its string value is sent to the command's standard input: # - # Open3.capture3('tee', {:stdin_data => 'Foo'}) - # # => ["Foo", "", #] + # Open3.capture3('tee', :stdin_data => 'Foo') + # # => ["Foo", "", #] # # - If options[:binmode] exists, # the internal streams are set to binary mode.