From 7c4084f9fb85073ec08450abdf70b24f7b598033 Mon Sep 17 00:00:00 2001 From: zzak Date: Wed, 27 Feb 2013 01:24:08 +0000 Subject: [PATCH] * thread.c (thread_raise_m): rdoc formatting git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ thread.c | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3a1ac638dc..7ae04cb693 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Wed Feb 27 10:23:00 2013 Zachary Scott + + * thread.c (thread_raise_m): rdoc formatting + Tue Feb 26 23:32:44 2013 Kouhei Sutou * lib/rexml/document.rb: move entity_expansion_limit accessor to ... diff --git a/thread.c b/thread.c index 0c4b7df7f7..6605043e05 100644 --- a/thread.c +++ b/thread.c @@ -2057,14 +2057,14 @@ rb_thread_fd_close(int fd) * thr.raise(string) * thr.raise(exception [, string [, array]]) * - * Raises an exception (see Kernel::raise) from thr. The - * caller does not have to be thr. + * Raises an exception from the given thread. The caller does not have to be + * +thr+. See Kernel#raise for more information. * * Thread.abort_on_exception = true * a = Thread.new { sleep(200) } * a.raise("Gotcha") * - * produces: + * _produces:_ * * prog.rb:3: Gotcha (RuntimeError) * from prog.rb:2:in `initialize'