From 1ebb148abc11c5af34bee5fdb91f7f7e8384d3f2 Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 15 Oct 2017 16:05:06 +0000 Subject: [PATCH] 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 --- error.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"