Class: Placet::Determinant
- Inherits:
-
Struct
- Object
- Struct
- Placet::Determinant
- Defined in:
- lib/placet/decision.rb
Overview
決め手になった statement。via は derive による導出の連鎖(concept.md 3.6)
Instance Attribute Summary collapse
-
#effect ⇒ Object
Returns the value of attribute effect.
-
#policy ⇒ Object
Returns the value of attribute policy.
-
#principal ⇒ Object
Returns the value of attribute principal.
-
#statement ⇒ Object
Returns the value of attribute statement.
-
#via ⇒ Object
Returns the value of attribute via.
Instance Method Summary collapse
Instance Attribute Details
#effect ⇒ Object
Returns the value of attribute effect
5 6 7 |
# File 'lib/placet/decision.rb', line 5 def effect @effect end |
#policy ⇒ Object
Returns the value of attribute policy
5 6 7 |
# File 'lib/placet/decision.rb', line 5 def policy @policy end |
#principal ⇒ Object
Returns the value of attribute principal
5 6 7 |
# File 'lib/placet/decision.rb', line 5 def principal @principal end |
#statement ⇒ Object
Returns the value of attribute statement
5 6 7 |
# File 'lib/placet/decision.rb', line 5 def statement @statement end |
#via ⇒ Object
Returns the value of attribute via
5 6 7 |
# File 'lib/placet/decision.rb', line 5 def via @via end |
Instance Method Details
#to_h ⇒ Object
6 |
# File 'lib/placet/decision.rb', line 6 def to_h = super.compact |