Class: Sqreen::RemoteCommand::FailureOutput

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_outputObject (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