Class: Taketo::Actions::GenerateSshConfig
- Inherits:
-
BaseAction
- Object
- BaseAction
- Taketo::Actions::GenerateSshConfig
- Defined in:
- lib/taketo/actions/generate_ssh_config.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 |
# File 'lib/taketo/actions/generate_ssh_config.rb', line 9 def run traverser = ConfigTraverser.new(config) ssh_config_generator = SSHConfigGeneratorVisitor.new traverser.visit_depth_first(ssh_config_generator) puts ssh_config_generator.result end |