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

ruby-changes:54670

From: stomar <ko1@a...>
Date: Mon, 21 Jan 2019 00:17:25 +0900 (JST)
Subject: [ruby-changes:54670] stomar:r66886 (trunk): process.c: [DOC] small improvements

stomar	2019-01-21 00:07:17 +0900 (Mon, 21 Jan 2019)

  New Revision: 66886

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

  Log:
    process.c: [DOC] small improvements

  Modified files:
    trunk/process.c
Index: process.c
===================================================================
--- process.c	(revision 66885)
+++ process.c	(revision 66886)
@@ -4434,8 +4434,8 @@ rb_spawn(int argc, const VALUE *argv) https://github.com/ruby/ruby/blob/trunk/process.c#L4434
  *  Returns +nil+ if command execution fails.
  *  An error status is available in <code>$?</code>.
  *
- *  If <code>exception: true</code> argument is passed, the method
- *  raises exception instead of +false+ or +nil+.
+ *  If the <code>exception: true</code> argument is passed, the method
+ *  raises an exception instead of returning +false+ or +nil+.
  *
  *  The arguments are processed in the same way as
  *  for Kernel#spawn.
@@ -4452,7 +4452,7 @@ rb_spawn(int argc, const VALUE *argv) https://github.com/ruby/ruby/blob/trunk/process.c#L4452
  *     config.h main.rb
  *     *
  *
- *  Errors handling:
+ *  Error handling:
  *
  *     system("cat nonexistent.txt")
  *     # => false

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

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