* thread.c (thread_raise_m): rdoc formatting

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
zzak 2013-02-27 01:24:08 +00:00
Родитель 530b1308c6
Коммит 7c4084f9fb
2 изменённых файлов: 7 добавлений и 3 удалений

Просмотреть файл

@ -1,3 +1,7 @@
Wed Feb 27 10:23:00 2013 Zachary Scott <zachary@zacharyscott.net>
* thread.c (thread_raise_m): rdoc formatting
Tue Feb 26 23:32:44 2013 Kouhei Sutou <kou@cozmixng.org>
* lib/rexml/document.rb: move entity_expansion_limit accessor to ...

Просмотреть файл

@ -2057,14 +2057,14 @@ rb_thread_fd_close(int fd)
* thr.raise(string)
* thr.raise(exception [, string [, array]])
*
* Raises an exception (see <code>Kernel::raise</code>) from <i>thr</i>. The
* caller does not have to be <i>thr</i>.
* 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")
*
* <em>produces:</em>
* _produces:_
*
* prog.rb:3: Gotcha (RuntimeError)
* from prog.rb:2:in `initialize'