summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/open3.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/open3.rb b/lib/open3.rb
index 85df43b44b..fc190fbab8 100644
--- a/lib/open3.rb
+++ b/lib/open3.rb
@@ -516,7 +516,7 @@ module Open3
# - If entry <tt>options[:stdin_data]</tt> exists, the entry is removed
# and its string value is sent to the command's standard input:
#
- # Open3.capture3('tee', :stdin_data => 'Foo')
+ # Open3.capture3('tee', stdin_data: 'Foo')
# # => ["Foo", "", #<Process::Status: pid 2319575 exit 0>]
#
# - If entry <tt>options[:binmode]</tt> exists, the entry us removed