Method: Build::TargetNode#initialize

Defined in:
lib/build/target_node.rb

#initialize(task_class, target) ⇒ TargetNode

Returns a new instance of TargetNode.



26
27
28
29
30
31
32
# File 'lib/build/target_node.rb', line 26

def initialize(task_class, target)
  @target = target
  @task_class = task_class
  
  # Wait here, for all dependent targets, to be done:
  super(Files::List::NONE, :inherit, target)
end