Method: Thread::Pool::Task#raise
- Defined in:
- lib/thread/pool.rb
#raise(exception) ⇒ Object
Raise an exception in the thread used by the task.
85 86 87 |
# File 'lib/thread/pool.rb', line 85 def raise(exception) @thread.raise(exception) end |