summaryrefslogtreecommitdiff
path: root/vm_eval.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-06-12 21:45:52 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-06-12 21:45:52 +0000
commit6d781384c512fb5c3121893a65b7c44d013a85f8 (patch)
tree8cd0ee6330199c7784043c71eff33d49f613bfb6 /vm_eval.c
parenta860431e3b2a62401b2daef2efb4fe6924213afe (diff)
* vm_eval.c (rb_f_throw): fixed rdoc about execption.
[ruby-core:23824] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23673 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 b4db202e5e..1c66bea8ac 100644
--- a/vm_eval.c
+++ b/vm_eval.c
@@ -1140,7 +1140,7 @@ rb_mod_module_exec(int argc, VALUE *argv, VALUE mod)
* 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