Class: Outback::ShellTask
Instance Attribute Summary collapse
-
#rollback_command ⇒ Object
readonly
Returns the value of attribute rollback_command.
-
#rollout_command ⇒ Object
readonly
Returns the value of attribute rollout_command.
Attributes inherited from Task
Instance Method Summary collapse
-
#initialize(rollout, rollback) ⇒ ShellTask
constructor
A new instance of ShellTask.
Methods inherited from Task
Constructor Details
#initialize(rollout, rollback) ⇒ ShellTask
Returns a new instance of ShellTask.
51 52 53 54 55 56 57 |
# File 'lib/outback/task.rb', line 51 def initialize(rollout, rollback) super() @rollout = lambda { |t| t.sys rollout } @rollout_command = rollout @rollback = lambda { |t| t.sys rollback } @rollback_command = rollback end |
Instance Attribute Details
#rollback_command ⇒ Object (readonly)
Returns the value of attribute rollback_command.
49 50 51 |
# File 'lib/outback/task.rb', line 49 def rollback_command @rollback_command end |
#rollout_command ⇒ Object (readonly)
Returns the value of attribute rollout_command.
49 50 51 |
# File 'lib/outback/task.rb', line 49 def rollout_command @rollout_command end |