Class: Dynflow::Testing::DummyPlannedAction
- Inherits:
 - 
      Object
      
        
- Object
 - Dynflow::Testing::DummyPlannedAction
 
 
- Includes:
 - Mimic
 
- Defined in:
 - lib/dynflow/testing/dummy_planned_action.rb
 
Instance Attribute Summary collapse
- 
  
    
      #output  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute output.
 - 
  
    
      #plan_input  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute plan_input.
 
Instance Method Summary collapse
- #execute(execution_plan, event, from_subscription, *args) ⇒ Object
 - 
  
    
      #initialize(klass)  ⇒ DummyPlannedAction 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of DummyPlannedAction.
 - #run_step_id ⇒ Object
 
Methods included from Mimic
Constructor Details
#initialize(klass) ⇒ DummyPlannedAction
Returns a new instance of DummyPlannedAction.
      9 10 11 12 13 14  | 
    
      # File 'lib/dynflow/testing/dummy_planned_action.rb', line 9 def initialize(klass) mimic! klass @output = ExecutionPlan::OutputReference.new( Testing.get_id.to_s, Testing.get_id, Testing.get_id ) end  | 
  
Instance Attribute Details
#output ⇒ Object
Returns the value of attribute output.
      6 7 8  | 
    
      # File 'lib/dynflow/testing/dummy_planned_action.rb', line 6 def output @output end  | 
  
#plan_input ⇒ Object
Returns the value of attribute plan_input.
      6 7 8  | 
    
      # File 'lib/dynflow/testing/dummy_planned_action.rb', line 6 def plan_input @plan_input end  | 
  
Instance Method Details
#execute(execution_plan, event, from_subscription, *args) ⇒ Object
      16 17 18 19  | 
    
      # File 'lib/dynflow/testing/dummy_planned_action.rb', line 16 def execute(execution_plan, event, from_subscription, *args) @plan_input = args self end  |