Class: SimpleDeploy::Stack::Execute

Inherits:
Object
  • Object
show all
Defined in:
lib/simple_deploy/stack/execute.rb

Instance Method Summary collapse

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