Class: Mkmf::Lite::Diagnostic
- Inherits:
-
Struct
- Object
- Struct
- Mkmf::Lite::Diagnostic
- Defined in:
- lib/mkmf/lite.rb
Overview
Captures the most recent compiler probe details for inspection.
Instance Attribute Summary collapse
-
#command ⇒ Object
Returns the value of attribute command.
-
#exit_status ⇒ Object
Returns the value of attribute exit_status.
-
#source ⇒ Object
Returns the value of attribute source.
-
#stderr ⇒ Object
Returns the value of attribute stderr.
-
#stdout ⇒ Object
Returns the value of attribute stdout.
Instance Method Summary collapse
Instance Attribute Details
#command ⇒ Object
Returns the value of attribute command
55 56 57 |
# File 'lib/mkmf/lite.rb', line 55 def command @command end |
#exit_status ⇒ Object
Returns the value of attribute exit_status
55 56 57 |
# File 'lib/mkmf/lite.rb', line 55 def exit_status @exit_status end |
#source ⇒ Object
Returns the value of attribute source
55 56 57 |
# File 'lib/mkmf/lite.rb', line 55 def source @source end |
#stderr ⇒ Object
Returns the value of attribute stderr
55 56 57 |
# File 'lib/mkmf/lite.rb', line 55 def stderr @stderr end |
#stdout ⇒ Object
Returns the value of attribute stdout
55 56 57 |
# File 'lib/mkmf/lite.rb', line 55 def stdout @stdout end |
Instance Method Details
#success? ⇒ Boolean
63 64 65 |
# File 'lib/mkmf/lite.rb', line 63 def success? exit_status == 0 end |