Class: Dynflow::Action::Progress::Calculate
- Inherits:
 - 
      Middleware
      
        
- Object
 - Middleware
 - Dynflow::Action::Progress::Calculate
 
 
- Defined in:
 - lib/dynflow/action/progress.rb
 
Instance Method Summary collapse
Methods inherited from Middleware
#action, #delay, #finalize_phase, #hook, #initialize, #pass, #plan, #plan_phase, #present
Constructor Details
This class inherits a constructor from Dynflow::Middleware
Instance Method Details
#finalize(*args) ⇒ Object
      20 21 22 23 24  | 
    
      # File 'lib/dynflow/action/progress.rb', line 20 def finalize(*args) with_progress_calculation(*args) do [action.finalize_progress, action.finalize_progress_weight] end end  | 
  
#run(*args) ⇒ Object
      14 15 16 17 18  | 
    
      # File 'lib/dynflow/action/progress.rb', line 14 def run(*args) with_progress_calculation(*args) do [action.run_progress, action.run_progress_weight] end end  |