Class: RailsDoctor::CommandResult

Inherits:
Struct
  • Object
show all
Defined in:
lib/rails_doctor/command_runner.rb

Instance Attribute Summary collapse

Instance Attribute Details

#commandObject

Returns the value of attribute command

Returns:

  • (Object)

    the current value of command



8
9
10
# File 'lib/rails_doctor/command_runner.rb', line 8

def command
  @command
end

#duration_msObject

Returns the value of attribute duration_ms

Returns:

  • (Object)

    the current value of duration_ms



8
9
10
# File 'lib/rails_doctor/command_runner.rb', line 8

def duration_ms
  @duration_ms
end

#exit_statusObject

Returns the value of attribute exit_status

Returns:

  • (Object)

    the current value of exit_status



8
9
10
# File 'lib/rails_doctor/command_runner.rb', line 8

def exit_status
  @exit_status
end

#stderrObject

Returns the value of attribute stderr

Returns:

  • (Object)

    the current value of stderr



8
9
10
# File 'lib/rails_doctor/command_runner.rb', line 8

def stderr
  @stderr
end

#stdoutObject

Returns the value of attribute stdout

Returns:

  • (Object)

    the current value of stdout



8
9
10
# File 'lib/rails_doctor/command_runner.rb', line 8

def stdout
  @stdout
end