From 6d781384c512fb5c3121893a65b7c44d013a85f8 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 12 Jun 2009 21:45:52 +0000 Subject: [PATCH] * 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 --- ChangeLog | 5 +++++ version.h | 4 ++-- vm_eval.c | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index d1b93eb7d7..f480da8650 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sat Jun 13 06:45:46 2009 Nobuyoshi Nakada + + * vm_eval.c (rb_f_throw): fixed rdoc about execption. + [ruby-core:23824] + Fri Jun 12 14:56:50 2009 Nobuyoshi Nakada * file.c (file_expand_path): associate the input encoding when diff --git a/version.h b/version.h index 26b9b65819..2054eaf1d1 100644 --- a/version.h +++ b/version.h @@ -1,5 +1,5 @@ #define RUBY_VERSION "1.9.2" -#define RUBY_RELEASE_DATE "2009-06-12" +#define RUBY_RELEASE_DATE "2009-06-13" #define RUBY_PATCHLEVEL -1 #define RUBY_BRANCH_NAME "trunk" @@ -8,7 +8,7 @@ #define RUBY_VERSION_TEENY 1 #define RUBY_RELEASE_YEAR 2009 #define RUBY_RELEASE_MONTH 6 -#define RUBY_RELEASE_DAY 12 +#define RUBY_RELEASE_DAY 13 #include "ruby/version.h" 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