aboutsummaryrefslogtreecommitdiffstats
path: root/error.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-15 16:05:06 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-15 16:05:06 +0000
commit9cf247a967f42e586bd19a011318e06570a208cf (patch)
treef6a9f8b35a94f1c896d4030c5ae519ae6172858c /error.c
parent06a0e4d59697fb538d65d24b7be2fa2f5634d2e0 (diff)
downloadruby-9cf247a967f42e586bd19a011318e06570a208cf.tar.gz
error.c: [DOC] fix typo [ci skip]
* error.c (RuntimeError): example code uses Kernel#raise instance method, not Kernel.raise singleton method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'error.c')
-rw-r--r--error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/error.c b/error.c
index 7f9e582930..9bd8c31386 100644
--- a/error.c
+++ b/error.c
@@ -2016,7 +2016,7 @@ syserr_eqq(VALUE self, VALUE exc)
*
* 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"