Class: Moult::Gate::Evaluation::Reason
- Inherits:
-
Struct
- Object
- Struct
- Moult::Gate::Evaluation::Reason
- Defined in:
- lib/moult/gate/evaluation.rb
Overview
---- output ---------------------------------------------------------------
Instance Attribute Summary collapse
-
#detail ⇒ Object
Returns the value of attribute detail.
-
#rule ⇒ Object
Returns the value of attribute rule.
Instance Method Summary collapse
Instance Attribute Details
#detail ⇒ Object
Returns the value of attribute detail
34 35 36 |
# File 'lib/moult/gate/evaluation.rb', line 34 def detail @detail end |
#rule ⇒ Object
Returns the value of attribute rule
34 35 36 |
# File 'lib/moult/gate/evaluation.rb', line 34 def rule @rule end |
Instance Method Details
#to_h ⇒ Object
35 36 37 |
# File 'lib/moult/gate/evaluation.rb', line 35 def to_h {rule: rule.to_s, detail: detail} end |