diff options
| author | Yukihiro Matsumoto <[email protected]> | 2012-06-14 01:18:49 +0900 |
|---|---|---|
| committer | Yukihiro Matsumoto <[email protected]> | 2012-06-14 01:18:49 +0900 |
| commit | 1156b0cc322cfb87b148b36aed23bac287ca328f (patch) | |
| tree | e160787a5b7908ee7ee98e36020a254ad2e7f8cd /src/kernel.c | |
| parent | df7be84dba8d972b47d1441056f077b7f1ec4c33 (diff) | |
| download | mruby-1156b0cc322cfb87b148b36aed23bac287ca328f.tar.gz mruby-1156b0cc322cfb87b148b36aed23bac287ca328f.zip | |
update RDoc for #raise
Diffstat (limited to 'src/kernel.c')
| -rw-r--r-- | src/kernel.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/kernel.c b/src/kernel.c index 6f2c46e51..c47b5c4a5 100644 --- a/src/kernel.c +++ b/src/kernel.c @@ -1117,12 +1117,8 @@ get_errinfo(mrb_state *mrb) * raise * raise(string) * raise(exception [, string [, array]]) - * fail - * fail(string) - * fail(exception [, string [, array]]) * - * With no arguments, raises the exception in <code>$!</code> or raises - * a <code>RuntimeError</code> if <code>$!</code> is +nil+. + * With no arguments, raises a <code>RuntimeError</code> * With a single +String+ argument, raises a * +RuntimeError+ with the string as a message. Otherwise, * the first parameter should be the name of an +Exception+ |
