Class: Mkmf::Lite::Diagnostic

Inherits:
Struct
  • Object
show all
Defined in:
lib/mkmf/lite.rb

Overview

Captures the most recent compiler probe details for inspection.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#commandObject

Returns the value of attribute command

Returns:

  • (Object)

    the current value of command



55
56
57
# File 'lib/mkmf/lite.rb', line 55

def command
  @command
end

#exit_statusObject

Returns the value of attribute exit_status

Returns:

  • (Object)

    the current value of exit_status



55
56
57
# File 'lib/mkmf/lite.rb', line 55

def exit_status
  @exit_status
end

#sourceObject

Returns the value of attribute source

Returns:

  • (Object)

    the current value of source



55
56
57
# File 'lib/mkmf/lite.rb', line 55

def source
  @source
end

#stderrObject

Returns the value of attribute stderr

Returns:

  • (Object)

    the current value of stderr



55
56
57
# File 'lib/mkmf/lite.rb', line 55

def stderr
  @stderr
end

#stdoutObject

Returns the value of attribute stdout

Returns:

  • (Object)

    the current value of stdout



55
56
57
# File 'lib/mkmf/lite.rb', line 55

def stdout
  @stdout
end

Instance Method Details

#success?Boolean

Returns:

  • (Boolean)


63
64
65
# File 'lib/mkmf/lite.rb', line 63

def success?
  exit_status == 0
end