summaryrefslogtreecommitdiff
path: root/thread.c
diff options
context:
space:
mode:
authormarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-10-11 22:08:51 +0000
committermarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-10-11 22:08:51 +0000
commit4aa531ead478b9f0ba2eba31125bfac1bf1f4d18 (patch)
tree98b4f437b4eb0c072af8b9d0d638582286ed0c75 /thread.c
parent67e11229ecf10efeb1b7eb15b114bc783453b8a6 (diff)
* thread.c: Doc fix for Thread#raise
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/thread.c b/thread.c
index 962a054157..5abe58f549 100644
--- a/thread.c
+++ b/thread.c
@@ -1393,7 +1393,9 @@ rb_thread_fd_close(int fd)
/*
* call-seq:
- * thr.raise(exception)
+ * thr.raise
+ * thr.raise(string)
+ * thr.raise(exception [, string [, array]])
*
* Raises an exception (see <code>Kernel::raise</code>) from <i>thr</i>. The
* caller does not have to be <i>thr</i>.