director/lib/director/compile_task.rb
def add_dependency(task, reciprocate=true)
      @dependencies << task
      if reciprocate
        task.add_dependent_task(self, false)
      end
    end
# Adds a compilation task to the list of dependencies
# @note Cycle detection performed elsewhere
# @param [CompileTask] task Compilation task
# @param [Boolean] reciprocate If true, add self as dependent task to other
# @return [void]
Adds a compilation task to the list of dependencies
Adds a compilation task to the list of dependencies
def add_dependency(task, reciprocate=true)
      @dependencies << task
      if reciprocate
        task.add_dependent_task(self, false)
      end
    end
def add_dependency ( task , reciprocate = true ) @dependencies << task if reciprocate task . add_dependent_task ( self , false ) end end
Adds a compilation task to the list of dependencies
Adds a compilation task to the list of dependencies
None
void
task
reciprocate
reciprocate If true, add self as dependent task to other
reciprocate If true add self as dependent task to other
note
Cycle detection performed elsewhere
Cycle detection performed elsewhere