lib/ruote/worker.rb
def run_in_thread

      #Thread.abort_on_exception = true

      @state = 'running'

      @run_thread = Thread.new { run }
      @run_thread['ruote_worker'] = self
    end
# Triggers the run method of the worker in a dedicated thread.
#
Triggers the run method of the worker in a dedicated thread.
Triggers the run method of the worker in a dedicated thread .
def run_in_thread
      @state = 'running'
      @run_thread = Thread.new { run }
      @run_thread['ruote_worker'] = self
    end
def run_in_thread @state = 'running' @run_thread = Thread . new { run } @run_thread [ 'ruote_worker' ] = self end
Triggers the run method of the worker in a dedicated thread.
Triggers the run method of the worker in a dedicated thread .
#Thread.abort_on_exception = true