Class: BuildTool::Cfg::IncludeNodeVisitor

Inherits:
ListVisitor show all
Defined in:
lib/build-tool/cfg/visitor.rb

Instance Attribute Summary

Attributes inherited from MJ::VisitorBase

#configuration

Instance Method Summary collapse

Methods inherited from ListVisitor

#visit, #visit_nodes

Methods inherited from MJ::VisitorBase

#initialize, #visit_Object

Constructor Details

This class inherits a constructor from MJ::VisitorBase

Instance Method Details

#visit_IncludeNode(node) ⇒ Object



486
487
488
489
# File 'lib/build-tool/cfg/visitor.rb', line 486

def visit_IncludeNode( node )
    name = node.value
    configuration.recipe.include_file( name, configuration )
end