Class: Moult::GateReport::Component
- Inherits:
-
Struct
- Object
- Struct
- Moult::GateReport::Component
- Defined in:
- lib/moult/gate_report.rb
Overview
Provenance for one signal analysis the gate composed: did it contribute, and if not, why (errored, or not applicable — e.g. a non-packwerk repo).
Instance Attribute Summary collapse
-
#diagnostic ⇒ Object
Returns the value of attribute diagnostic.
-
#name ⇒ Object
Returns the value of attribute name.
-
#present ⇒ Object
Returns the value of attribute present.
Instance Method Summary collapse
Instance Attribute Details
#diagnostic ⇒ Object
Returns the value of attribute diagnostic
20 21 22 |
# File 'lib/moult/gate_report.rb', line 20 def diagnostic @diagnostic end |
#name ⇒ Object
Returns the value of attribute name
20 21 22 |
# File 'lib/moult/gate_report.rb', line 20 def name @name end |
#present ⇒ Object
Returns the value of attribute present
20 21 22 |
# File 'lib/moult/gate_report.rb', line 20 def present @present end |
Instance Method Details
#to_h ⇒ Object
21 22 23 |
# File 'lib/moult/gate_report.rb', line 21 def to_h {name: name, present: present, diagnostic: diagnostic} end |