# File lib/dragonfly/job.rb, line 219
    def apply
      pending_steps.each{|step| step.apply(self) }
      self.next_step_index = steps.length
      self
    end