Skip to content

Commit

Permalink
[DOC] argument to Exception#excepton is optional [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Jun 17, 2020
1 parent cc46d51 commit e14cba3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion error.c
Expand Up @@ -1022,7 +1022,7 @@ exc_initialize(int argc, VALUE *argv, VALUE exc)
* Document-method: exception
*
* 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,
* return the receiver. Otherwise, create a new
Expand Down

0 comments on commit e14cba3

Please sign in to comment.