summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-15 16:05:06 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-15 16:05:06 (GMT)
commit1ebb148abc11c5af34bee5fdb91f7f7e8384d3f2 (patch)
treef6a9f8b35a94f1c896d4030c5ae519ae6172858c /error.c
parentb625191054a66877ea57954db0a81fb34281cbfc (diff)
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 7f9e582..9bd8c31 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"