summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorYukihiro Matsumoto <[email protected]>2012-06-14 01:18:49 +0900
committerYukihiro Matsumoto <[email protected]>2012-06-14 01:18:49 +0900
commit1156b0cc322cfb87b148b36aed23bac287ca328f (patch)
treee160787a5b7908ee7ee98e36020a254ad2e7f8cd /src
parentdf7be84dba8d972b47d1441056f077b7f1ec4c33 (diff)
downloadmruby-1156b0cc322cfb87b148b36aed23bac287ca328f.tar.gz
mruby-1156b0cc322cfb87b148b36aed23bac287ca328f.zip
update RDoc for #raise
Diffstat (limited to 'src')
-rw-r--r--src/kernel.c6
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+