Class: BuildTool::Cfg::GitOptionsDeclarationNodeVisitor
- Inherits:
-
ListVisitor
- Object
- MJ::VisitorBase
- ListVisitor
- BuildTool::Cfg::GitOptionsDeclarationNodeVisitor
- Includes:
- GitOptionDeclarationMethods
- Defined in:
- lib/build-tool/cfg/visitor.rb
Instance Attribute Summary
Attributes inherited from MJ::VisitorBase
Instance Method Summary collapse
-
#initialize(configuration) ⇒ GitOptionsDeclarationNodeVisitor
constructor
A new instance of GitOptionsDeclarationNodeVisitor.
Methods included from GitOptionDeclarationMethods
Methods inherited from ListVisitor
Methods inherited from MJ::VisitorBase
Constructor Details
#initialize(configuration) ⇒ GitOptionsDeclarationNodeVisitor
Returns a new instance of GitOptionsDeclarationNodeVisitor.
402 403 404 405 406 407 408 |
# File 'lib/build-tool/cfg/visitor.rb', line 402 def initialize( configuration ) super( configuration ) if BuildTool::VCS::GitConfiguration.global_config.nil? BuildTool::VCS::GitConfiguration.global_config = BuildTool::VCS::GitConfiguration.new end @vcs = BuildTool::VCS::GitConfiguration.global_config end |