class Build::DependencyNode
Attributes
arguments[R]
chain[R]
dependency[R]
environment[R]
Public Class Methods
new(chain, dependency, environment, arguments)
click to toggle source
Calls superclass method
# File lib/build/dependency_node.rb, line 27 def initialize(chain, dependency, environment, arguments) @chain = chain @dependency = dependency @environment = environment @arguments = arguments # Wait here, for all dependent targets, to be done: super(Files::List::NONE, :inherit) end
Public Instance Methods
==(other)
click to toggle source
Calls superclass method
# File lib/build/dependency_node.rb, line 42 def == other super and @chain == other.chain and @dependency == other.dependency and @environment == other.environment and @arguments == other.arguments end
hash()
click to toggle source
Calls superclass method
# File lib/build/dependency_node.rb, line 50 def hash super ^ @chain.hash ^ @dependency.hash ^ @environment.hash ^ @arguments.hash end
name()
click to toggle source
# File lib/build/dependency_node.rb, line 58 def name @dependency.name end
provision_node_for(provision)
click to toggle source
# File lib/build/dependency_node.rb, line 70 def provision_node_for(provision) ProvisionNode.new(@chain, provision, @environment, @arguments) end
provisions()
click to toggle source
# File lib/build/dependency_node.rb, line 62 def provisions @chain.resolved[@dependency] end
public?()
click to toggle source
# File lib/build/dependency_node.rb, line 66 def public? @dependency.public? end
task_class(parent_task)
click to toggle source
# File lib/build/dependency_node.rb, line 54 def task_class(parent_task) DependencyTask end