def prerequisites(*strategy_names)
      if @prereq_run_list == []
        @prereq_run_list = [[@name, :action, :prepare_prerequisite]]
      end

      [*strategy_names].each do |strategy_name|
        if Arsenal.strategies[strategy_name]
          Arsenal.strategies[strategy_name].list(config).each do |action|
            # strategy_name, type, name
            if action[1] == :local_action
              raise InvalidActionError, 'Cant use prerequisite strategies that have local actions'
            end
            @prereq_run_list << [action[0], :prerequisite, action[2]]
          end
        end  
      end
    end
def prerequisites(*strategy_names)
      if @prereq_run_list == []
        @prereq_run_list = [[@name, :action, :prepare_prerequisite]]
      end

      [*strategy_names].each do |strategy_name|
        if Arsenal.strategies[strategy_name]
          Arsenal.strategies[strategy_name].list(config).each do |action|
            # strategy_name, type, name
            if action[1] == :local_action
              raise InvalidActionError, 'Cant use prerequisite strategies that have local actions'
            end
            @prereq_run_list << [action[0], :prerequisite, action[2]]
          end
        end  
      end
    end
Public: Add other strategies actions to the prerequisite run list.

 strategy_names - A list of other Strategy names.

 Examples

   @strategy.prerequisites(:my_other_strategy) # => nil

 Returns nil.