lib/ruote/worker.rb
def begin_step

      Thread.current['ruote_worker'] = self

      @storage.begin_step if @storage.respond_to?(:begin_step)
    end
# Some storage implementations cache information before a step
# begins, reducing the number of requests to the underlying
# data system. This begin step notifies the storage that
# a new step is on and it should refresh the cached information.
#
# The storage implementation, if it supports this feature, will cache
# the information in the thread local info.
#
Some storage implementations cache information before a step
begins, reducing the number of requests to the underlying
data system. This begin step notifies the storage that
a new step is on and it should refresh the cached information.

The storage implementation, if it supports this feature, will cache
the information in the thread local info.
Some storage implementations cache information before a step begins reducing the number of requests to the underlying data system . This begin step notifies the storage that a new step is on and it should refresh the cached information . The storage implementation if it supports this feature will cache the information in the thread local info .
def begin_step
      Thread.current['ruote_worker'] = self
      @storage.begin_step if @storage.respond_to?(:begin_step)
    end
def begin_step Thread . current [ 'ruote_worker' ] = self @storage . begin_step if @storage . respond_to? ( :begin_step ) end
Some storage implementations cache information before a step
begins, reducing the number of requests to the underlying
data system.
Some storage implementations cache information before a step begins reducing the number of requests to the underlying data system .