summaryrefslogtreecommitdiff
path: root/vm_eval.c
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-06-21 09:14:52 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-06-21 09:14:52 +0000
commitb7a195462a98aafd2fa91611c4a3ba507ca66398 (patch)
tree0e4ed8376c80ff472c0e424601621fb3a7c5a146 /vm_eval.c
parentff97db81d1da421d5c11557da8815f178b1af5a4 (diff)
merges r23673 from trunk into ruby_1_9_1.
-- * vm_eval.c (rb_f_throw): fixed rdoc about execption. [ruby-core:23824] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@23784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_eval.c')
-rw-r--r--vm_eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_eval.c b/vm_eval.c
index 0ec847882a..cbcc55f417 100644
--- a/vm_eval.c
+++ b/vm_eval.c
@@ -1141,7 +1141,7 @@ NORETURN(static VALUE rb_f_throw _((int, VALUE *)));
* throw(symbol [, obj])
*
* Transfers control to the end of the active +catch+ block
- * waiting for _symbol_. Raises +NameError+ if there
+ * waiting for _symbol_. Raises +ArgumentError+ if there
* is no +catch+ block for the symbol. The optional second
* parameter supplies a return value for the +catch+ block,
* which otherwise defaults to +nil+. For examples, see