update RDoc for #raise

This commit is contained in:
Yukihiro Matsumoto
2012-06-14 01:18:49 +09:00
parent df7be84dba
commit 1156b0cc32
+1 -5
View File
@@ -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+