Exception: RunnerExecution::RunnerExecutionRuntimeError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- RunnerExecution::RunnerExecutionRuntimeError
- Defined in:
- lib/runner_execution.rb
Instance Attribute Summary collapse
-
#command ⇒ Object
readonly
Returns the value of attribute command.
-
#exitstatus ⇒ Object
readonly
Returns the value of attribute exitstatus.
-
#output ⇒ Object
readonly
Returns the value of attribute output.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(status, command, output = nil) ⇒ RunnerExecutionRuntimeError
constructor
A new instance of RunnerExecutionRuntimeError.
Constructor Details
#initialize(status, command, output = nil) ⇒ RunnerExecutionRuntimeError
Returns a new instance of RunnerExecutionRuntimeError.
13 14 15 16 17 18 19 20 |
# File 'lib/runner_execution.rb', line 13 def initialize(status, command, output = nil) @status = status @exitstatus = status.exitstatus @command = command @output = output super "#{status.inspect}\n#{command.inspect}" end |
Instance Attribute Details
#command ⇒ Object (readonly)
Returns the value of attribute command.
11 12 13 |
# File 'lib/runner_execution.rb', line 11 def command @command end |
#exitstatus ⇒ Object (readonly)
Returns the value of attribute exitstatus.
11 12 13 |
# File 'lib/runner_execution.rb', line 11 def exitstatus @exitstatus end |
#output ⇒ Object (readonly)
Returns the value of attribute output.
11 12 13 |
# File 'lib/runner_execution.rb', line 11 def output @output end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
11 12 13 |
# File 'lib/runner_execution.rb', line 11 def status @status end |