mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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:
parent
b625191054
commit
1ebb148abc
1 changed files with 1 additions and 1 deletions
2
error.c
2
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"
|
||||
|
|
Loading…
Add table
Reference in a new issue