summaryrefslogtreecommitdiffstats
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
commitde9012a981b4991065faac63228c51bb1a44c3bc (patch)
tree8cd0ee6330199c7784043c71eff33d49f613bfb6 /vm_eval.c
parent7fbfa8d9aad428cec68c96cf06397824505f323b (diff)
downloadruby-de9012a981b4991065faac63228c51bb1a44c3bc.tar.gz
ruby-de9012a981b4991065faac63228c51bb1a44c3bc.tar.xz
ruby-de9012a981b4991065faac63228c51bb1a44c3bc.zip
* vm_eval.c (rb_f_throw): fixed rdoc about execption.
[ruby-core:23824] git-svn-id: http://svn.ruby-lang.org/repos/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 b4db202e5..1c66bea8a 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