Class: Train::Extras::CommandResult

Inherits:
Struct
  • Object
show all
Defined in:
lib/train/extras.rb

Instance Attribute Summary collapse

Instance Attribute Details

#exit_statusObject

Returns the value of attribute exit_status

Returns:

  • (Object)

    the current value of exit_status



14
15
16
# File 'lib/train/extras.rb', line 14

def exit_status
  @exit_status
end

#stderrObject

Returns the value of attribute stderr

Returns:

  • (Object)

    the current value of stderr



14
15
16
# File 'lib/train/extras.rb', line 14

def stderr
  @stderr
end

#stdoutObject

Returns the value of attribute stdout

Returns:

  • (Object)

    the current value of stdout



14
15
16
# File 'lib/train/extras.rb', line 14

def stdout
  @stdout
end