Class: Taketo::Actions::List
- Inherits:
-
BaseAction
- Object
- BaseAction
- Taketo::Actions::List
- Defined in:
- lib/taketo/actions/list.rb
Instance Attribute Summary
Attributes inherited from BaseAction
Instance Method Summary collapse
Methods inherited from BaseAction
Constructor Details
This class inherits a constructor from Taketo::Actions::BaseAction
Instance Method Details
#run ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/taketo/actions/list.rb', line 9 def run node = GroupResolver.new(config, destination_path).resolve traverser = ConfigTraverser.new(node) lister = GroupListVisitor.new traverser.visit_depth_first(lister) puts lister.result end |