def update(context=nil, options={})
      steps.each do |step|
        log_step(:before, step, context, options)
        begin
          step.last.call(context, options)
        rescue Exception => ex
          log_step(:error, step, context, options, ex)
          raise ex
        end
        log_step(:after, step, context, options)
      end
    end
def update(context=nil, options={})
      steps.each do |step|
        log_step(:before, step, context, options)
        begin
          step.last.call(context, options)
        rescue Exception => ex
          log_step(:error, step, context, options, ex)
          raise ex
        end
        log_step(:after, step, context, options)
      end
    end
The callback triggered when Hero::Formula#run is invoked.
 This method runs all registered steps in order.

 @note A log message will be written to Hero.logger for each step that is called if Hero.logger has been set.

 @param optional [Object] context The context to be passed to each step.
 @param optional [Hash] options An option Hash to be passed to each step.