Class: Tuxedo::Cli::CliResult

Inherits:
Struct
  • Object
show all
Defined in:
lib/tuxedo/cli.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#exit_statusObject

Returns the value of attribute exit_status

Returns:

  • (Object)

    the current value of exit_status



3
4
5
# File 'lib/tuxedo/cli.rb', line 3

def exit_status
  @exit_status
end

#stderrObject

Returns the value of attribute stderr

Returns:

  • (Object)

    the current value of stderr



3
4
5
# File 'lib/tuxedo/cli.rb', line 3

def stderr
  @stderr
end

#stdoutObject

Returns the value of attribute stdout

Returns:

  • (Object)

    the current value of stdout



3
4
5
# File 'lib/tuxedo/cli.rb', line 3

def stdout
  @stdout
end

Instance Method Details

#exit_codeObject



4
5
6
# File 'lib/tuxedo/cli.rb', line 4

def exit_code
  exit_status.exitstatus
end