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



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

def exit_status
  @exit_status
end

#stderrObject

Returns the value of attribute stderr

Returns:

  • (Object)

    the current value of stderr



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

def stderr
  @stderr
end

#stdoutObject

Returns the value of attribute stdout

Returns:

  • (Object)

    the current value of stdout



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

def stdout
  @stdout
end