Method: BatchKit::Runnable#post_execute

Defined in:
lib/batch-kit/framework/runnable.rb

#post_execute(process_obj, success) ⇒ Object

Called after the process executes.

Parameters:

  • process_obj (Object)

    Object that is executing the batch process.

  • success (Boolean)

    True if the process completed without throwing an exception.



191
192
193
194
# File 'lib/batch-kit/framework/runnable.rb', line 191

def post_execute(process_obj, success)
    Events.publish(process_obj, event_name('post-execute'), self, success)
    @object = nil
end