Class: Sqreen::RemoteCommand::FailureOutput
- Inherits:
-
Object
- Object
- Sqreen::RemoteCommand::FailureOutput
- Defined in:
- lib/sqreen/remote_command/failure_output.rb
Overview
wraps output returned by a command that should also result in status: false
Instance Attribute Summary collapse
-
#wrapped_output ⇒ Object
readonly
Returns the value of attribute wrapped_output.
Instance Method Summary collapse
-
#initialize(output) ⇒ FailureOutput
constructor
A new instance of FailureOutput.
Constructor Details
#initialize(output) ⇒ FailureOutput
Returns a new instance of FailureOutput.
11 12 13 |
# File 'lib/sqreen/remote_command/failure_output.rb', line 11 def initialize(output) @wrapped_output = output end |
Instance Attribute Details
#wrapped_output ⇒ Object (readonly)
Returns the value of attribute wrapped_output.
10 11 12 |
# File 'lib/sqreen/remote_command/failure_output.rb', line 10 def wrapped_output @wrapped_output end |