Class: Deis::Runner
- Inherits:
-
Struct
- Object
- Struct
- Deis::Runner
- Includes:
- Helpers
- Defined in:
- lib/deis/runner.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
Returns the value of attribute args.
Instance Method Summary collapse
Methods included from Helpers
#app_exists?, #capture_output, #capture_syscall, #debug?, #deis_command, #deis_local_command, #deis_login!, #deploy, #get_runner, #get_units!, #git_clone, #increment_retry!, #info, #reset_retry!, #run_util, #scale, seconds_to_human, #shell, #should_retry?, #status, #units
Instance Attribute Details
#args ⇒ Object
Returns the value of attribute args
2 3 4 |
# File 'lib/deis/runner.rb', line 2 def args @args end |
Instance Method Details
#run ⇒ Object
5 6 7 8 9 |
# File 'lib/deis/runner.rb', line 5 def run command = args.shift status = run_util(command, *args) exit status === false ? 1 : 0 end |