* 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
This commit is contained in:
nobu 2009-06-12 21:45:52 +00:00
parent a860431e3b
commit 6d781384c5
3 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
Sat Jun 13 06:45:46 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* vm_eval.c (rb_f_throw): fixed rdoc about execption.
[ruby-core:23824]
Fri Jun 12 14:56:50 2009 Nobuyoshi Nakada <nobu@ruby-lang.org> Fri Jun 12 14:56:50 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* file.c (file_expand_path): associate the input encoding when * file.c (file_expand_path): associate the input encoding when

View File

@ -1,5 +1,5 @@
#define RUBY_VERSION "1.9.2" #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_PATCHLEVEL -1
#define RUBY_BRANCH_NAME "trunk" #define RUBY_BRANCH_NAME "trunk"
@ -8,7 +8,7 @@
#define RUBY_VERSION_TEENY 1 #define RUBY_VERSION_TEENY 1
#define RUBY_RELEASE_YEAR 2009 #define RUBY_RELEASE_YEAR 2009
#define RUBY_RELEASE_MONTH 6 #define RUBY_RELEASE_MONTH 6
#define RUBY_RELEASE_DAY 12 #define RUBY_RELEASE_DAY 13
#include "ruby/version.h" #include "ruby/version.h"

View File

@ -1140,7 +1140,7 @@ rb_mod_module_exec(int argc, VALUE *argv, VALUE mod)
* throw(symbol [, obj]) * throw(symbol [, obj])
* *
* Transfers control to the end of the active +catch+ block * 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 * is no +catch+ block for the symbol. The optional second
* parameter supplies a return value for the +catch+ block, * parameter supplies a return value for the +catch+ block,
* which otherwise defaults to +nil+. For examples, see * which otherwise defaults to +nil+. For examples, see