Class: InvocaGems::ShellCommand::Response

Inherits:
Struct
  • Object
show all
Defined in:
lib/invoca_gems/shell_command.rb

Overview

Returns the command output, stripped Or nil if command failed

Instance Attribute Summary collapse

Instance Attribute Details

#codeObject

Returns the value of attribute code

Returns:

  • (Object)

    the current value of code



10
11
12
# File 'lib/invoca_gems/shell_command.rb', line 10

def code
  @code
end

#stderrObject

Returns the value of attribute stderr

Returns:

  • (Object)

    the current value of stderr



10
11
12
# File 'lib/invoca_gems/shell_command.rb', line 10

def stderr
  @stderr
end

#stdoutObject

Returns the value of attribute stdout

Returns:

  • (Object)

    the current value of stdout



10
11
12
# File 'lib/invoca_gems/shell_command.rb', line 10

def stdout
  @stdout
end