From 1156b0cc322cfb87b148b36aed23bac287ca328f Mon Sep 17 00:00:00 2001 From: Yukihiro Matsumoto Date: Thu, 14 Jun 2012 01:18:49 +0900 Subject: update RDoc for #raise --- src/kernel.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src') 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 $! or raises - * a RuntimeError if $! is +nil+. + * With no arguments, raises a RuntimeError * 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+ -- cgit v1.2.3