summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--lib/open3.rb18
2 files changed, 14 insertions, 9 deletions
diff --git a/ChangeLog b/ChangeLog
index 714865ecf9..1a8e094dce 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Tue Nov 4 12:09:18 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
+
+ * lib/open3.rb: fix code formatting in documentation by @JoshCheek
+ [fix GH-747][ci skip]
+
Tue Nov 4 08:57:37 2014 Eric Wong <e@80x24.org>
* encoding.c (enc_memsize): remove unnecessary function
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:
#