Skip to content

Commit

Permalink
* thread.c (thread_raise_m): rdoc formatting
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
zzak committed Feb 27, 2013
1 parent 530b130 commit 7c4084f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Wed Feb 27 10:23:00 2013 Zachary Scott <[email protected]>

* thread.c (thread_raise_m): rdoc formatting

Tue Feb 26 23:32:44 2013 Kouhei Sutou <[email protected]>

* lib/rexml/document.rb: move entity_expansion_limit accessor to ...
Expand Down
6 changes: 3 additions & 3 deletions thread.c
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 7c4084f

Please sign in to comment.