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

ruby-changes:48071

From: nobu <ko1@a...>
Date: Mon, 16 Oct 2017 01:05:11 +0900 (JST)
Subject: [ruby-changes:48071] nobu:r60185 (trunk): error.c: [DOC] fix typo [ci skip]

nobu	2017-10-16 01:05:06 +0900 (Mon, 16 Oct 2017)

  New Revision: 60185

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

  Log:
    error.c: [DOC] fix typo [ci skip]
    
    * error.c (RuntimeError): example code uses Kernel#raise instance
      method, not Kernel.raise singleton method.

  Modified files:
    trunk/error.c
Index: error.c
===================================================================
--- error.c	(revision 60184)
+++ error.c	(revision 60185)
@@ -2016,7 +2016,7 @@ syserr_eqq(VALUE self, VALUE exc) https://github.com/ruby/ruby/blob/trunk/error.c#L2016
  *
  *     RuntimeError: can't modify frozen Array
  *
- *  Kernel.raise will raise a RuntimeError if no Exception class is
+ *  Kernel#raise will raise a RuntimeError if no Exception class is
  *  specified.
  *
  *     raise "ouch"

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

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