[前][次][番号順一覧][スレッド一覧]

ruby-changes:36176

From: hsbt <ko1@a...>
Date: Tue, 4 Nov 2014 12:09:36 +0900 (JST)
Subject: [ruby-changes:36176] hsbt:r48257 (trunk): * lib/open3.rb: fix code formatting in documentation by @JoshCheek

hsbt	2014-11-04 12:09:28 +0900 (Tue, 04 Nov 2014)

  New Revision: 48257

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=48257

  Log:
    * lib/open3.rb: fix code formatting in documentation by @JoshCheek
      [fix GH-747][ci skip]

  Modified files:
    trunk/ChangeLog
    trunk/lib/open3.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 48256)
+++ ChangeLog	(revision 48257)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Tue Nov  4 12:09:18 2014  SHIBATA Hiroshi  <shibata.hiroshi@g...>
+
+	* 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@8...>
 
 	* encoding.c (enc_memsize): remove unnecessary function
Index: lib/open3.rb
===================================================================
--- lib/open3.rb	(revision 48256)
+++ lib/open3.rb	(revision 48257)
@@ -214,11 +214,11 @@ module Open3 https://github.com/ruby/ruby/blob/trunk/lib/open3.rb#L214
   #   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 https://github.com/ruby/ruby/blob/trunk/lib/open3.rb#L272
   #   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 https://github.com/ruby/ruby/blob/trunk/lib/open3.rb#L320
   #   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:
   #

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]