diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-06-18 08:59:47 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-06-18 08:59:47 +0900 |
commit | e14cba354ca031b48de0720fe0d96c04d9bb3439 (patch) | |
tree | 834f3442dc38041b1d43bf0cb485521dddd1e8c9 /error.c | |
parent | cc46d514dcc2d61f7bc8a7b1ff01dd01fd10dd9b (diff) |
[DOC] argument to Exception#excepton is optional [ci skip]
Diffstat (limited to 'error.c')
-rw-r--r-- | error.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |