diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-11-04 03:09:28 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-11-04 03:09:28 +0000 |
commit | 91dd80fac707002c99ba6db4ee79cf85e1186cb8 (patch) | |
tree | 52ef505e62253efedcd55e06ea7958fb3f8c2370 /lib | |
parent | 478e1b04df6e5a42d039f540c9f698d8597835d4 (diff) | |
download | ruby-91dd80fac707002c99ba6db4ee79cf85e1186cb8.tar.gz |
* lib/open3.rb: fix code formatting in documentation by @JoshCheek
[fix GH-747][ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/open3.rb | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/open3.rb b/lib/open3.rb index e80b1cd385..6ec4a941d2 100644 --- a/lib/open3.rb +++ b/lib/open3.rb @@ -214,11 +214,11 @@ module Open3 # stdout_str, stderr_str, status = Open3.capture3([env,] cmd... [, opts]) # # The arguments env, cmd and opts are passed to Open3.popen3 except - # opts[:stdin_data] and opts[:binmode]. See Process.spawn. + # <code>opts[:stdin_data]</code> and <code>opts[:binmode]</code>. See Process.spawn. # - # If opts[:stdin_data] is specified, it is sent to the command's standard input. + # If <code>opts[:stdin_data]</code> is specified, it is sent to the command's standard input. # - # If opts[:binmode] is true, internal pipes are set to binary mode. + # If <code>opts[:binmode]</code> is true, internal pipes are set to binary mode. # # Examples: # @@ -272,11 +272,11 @@ module Open3 # stdout_str, status = Open3.capture2([env,] cmd... [, opts]) # # The arguments env, cmd and opts are passed to Open3.popen3 except - # opts[:stdin_data] and opts[:binmode]. See Process.spawn. + # <code>opts[:stdin_data]</code> and <code>opts[:binmode]</code>. See Process.spawn. # - # If opts[:stdin_data] is specified, it is sent to the command's standard input. + # If <code>opts[:stdin_data]</code> is specified, it is sent to the command's standard input. # - # If opts[:binmode] is true, internal pipes are set to binary mode. + # If <code>opts[:binmode]</code> is true, internal pipes are set to binary mode. # # Example: # @@ -320,11 +320,11 @@ module Open3 # stdout_and_stderr_str, status = Open3.capture2e([env,] cmd... [, opts]) # # The arguments env, cmd and opts are passed to Open3.popen3 except - # opts[:stdin_data] and opts[:binmode]. See Process.spawn. + # <code>opts[:stdin_data]</code> and <code>opts[:binmode]</code>. See Process.spawn. # - # If opts[:stdin_data] is specified, it is sent to the command's standard input. + # If <code>opts[:stdin_data]</code> is specified, it is sent to the command's standard input. # - # If opts[:binmode] is true, internal pipes are set to binary mode. + # If <code>opts[:binmode]</code> is true, internal pipes are set to binary mode. # # Example: # |