Class: CliTester::CommandResult

Inherits:
Object
  • Object
show all
Defined in:
lib/cli_tester.rb

Instance Attribute Summary collapse

Instance Attribute Details

#cmdObject

Returns the value of attribute cmd.



29
30
31
# File 'lib/cli_tester.rb', line 29

def cmd
  @cmd
end

#errorObject

Returns the value of attribute error.



29
30
31
# File 'lib/cli_tester.rb', line 29

def error
  @error
end

#exit_codeObject

Returns the value of attribute exit_code.



29
30
31
# File 'lib/cli_tester.rb', line 29

def exit_code
  @exit_code
end

#stderrObject

Returns the value of attribute stderr.



29
30
31
# File 'lib/cli_tester.rb', line 29

def stderr
  @stderr
end

#stdoutObject

Returns the value of attribute stdout.



29
30
31
# File 'lib/cli_tester.rb', line 29

def stdout
  @stdout
end