Class: SimpleDeploy::Stack::Execute
- Inherits:
-
Object
- Object
- SimpleDeploy::Stack::Execute
- Defined in:
- lib/simple_deploy/stack/execute.rb
Instance Method Summary collapse
- #execute(args) ⇒ Object
-
#initialize(args) ⇒ Execute
constructor
A new instance of Execute.
Constructor Details
#initialize(args) ⇒ Execute
Returns a new instance of Execute.
6 7 8 9 |
# File 'lib/simple_deploy/stack/execute.rb', line 6 def initialize(args) @config = SimpleDeploy.config @args = args end |
Instance Method Details
#execute(args) ⇒ Object
11 12 13 |
# File 'lib/simple_deploy/stack/execute.rb', line 11 def execute(args) ssh.execute args end |