Class: IPXACT::Tools::Diagnosis
- Inherits:
-
Struct
- Object
- Struct
- IPXACT::Tools::Diagnosis
- Defined in:
- lib/ipxact_tools.rb
Overview
Commodity class for handling errors and warnings produced by the method.
Instance Attribute Summary collapse
-
#errors ⇒ Object
Returns the value of attribute errors.
-
#warnings ⇒ Object
Returns the value of attribute warnings.
Instance Method Summary collapse
-
#initialize ⇒ Diagnosis
constructor
A new instance of Diagnosis.
Constructor Details
#initialize ⇒ Diagnosis
Returns a new instance of Diagnosis.
71 72 73 74 75 |
# File 'lib/ipxact_tools.rb', line 71 def initialize super self.errors = [] self.warnings = [] end |
Instance Attribute Details
#errors ⇒ Object
Returns the value of attribute errors
70 71 72 |
# File 'lib/ipxact_tools.rb', line 70 def errors @errors end |
#warnings ⇒ Object
Returns the value of attribute warnings
70 71 72 |
# File 'lib/ipxact_tools.rb', line 70 def warnings @warnings end |