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
This commit is contained in:
nobu 2017-10-15 16:05:06 +00:00
Родитель b625191054
Коммит 1ebb148abc
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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"