Class: SimpleDeploySSH
- Inherits:
-
Object
- Object
- SimpleDeploySSH
- Defined in:
- lib/simple_deploy_ssh.rb
Constant Summary collapse
- VERSION =
"0.0.2"
Instance Method Summary collapse
- #connect! ⇒ Object
-
#initialize(env_name, stack_name, instance_name) ⇒ SimpleDeploySSH
constructor
A new instance of SimpleDeploySSH.
Constructor Details
#initialize(env_name, stack_name, instance_name) ⇒ SimpleDeploySSH
Returns a new instance of SimpleDeploySSH.
4 5 6 7 8 |
# File 'lib/simple_deploy_ssh.rb', line 4 def initialize(env_name, stack_name, instance_name) @env_name = env_name @stack_name = stack_name @instance_name = instance_name end |
Instance Method Details
#connect! ⇒ Object
10 11 12 |
# File 'lib/simple_deploy_ssh.rb', line 10 def connect! Kernel.exec ssh_command end |