mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[DOC] argument to Exception#excepton is optional [ci skip]
This commit is contained in:
parent
cc46d514dc
commit
e14cba354c
1 changed files with 1 additions and 1 deletions
2
error.c
2
error.c
|
@ -1022,7 +1022,7 @@ exc_initialize(int argc, VALUE *argv, VALUE exc)
|
||||||
* Document-method: exception
|
* Document-method: exception
|
||||||
*
|
*
|
||||||
* call-seq:
|
* call-seq:
|
||||||
* exc.exception(string) -> an_exception or exc
|
* exc.exception([string]) -> an_exception or exc
|
||||||
*
|
*
|
||||||
* With no argument, or if the argument is the same as the receiver,
|
* With no argument, or if the argument is the same as the receiver,
|
||||||
* return the receiver. Otherwise, create a new
|
* return the receiver. Otherwise, create a new
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue