Class: Liteguard::GuardDecision
- Inherits:
-
Data
- Object
- Data
- Liteguard::GuardDecision
- Defined in:
- lib/liteguard/types.rb
Overview
The detailed result of evaluating a guard.
Instance Attribute Summary collapse
-
#adopted ⇒ Object
readonly
Returns the value of attribute adopted.
-
#is_open ⇒ Object
readonly
Returns the value of attribute is_open.
-
#matched_rule_index ⇒ Object
readonly
Returns the value of attribute matched_rule_index.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#properties ⇒ Object
readonly
Returns the value of attribute properties.
-
#reason ⇒ Object
readonly
Returns the value of attribute reason.
Instance Attribute Details
#adopted ⇒ Object (readonly)
Returns the value of attribute adopted
32 33 34 |
# File 'lib/liteguard/types.rb', line 32 def adopted @adopted end |
#is_open ⇒ Object (readonly)
Returns the value of attribute is_open
32 33 34 |
# File 'lib/liteguard/types.rb', line 32 def is_open @is_open end |
#matched_rule_index ⇒ Object (readonly)
Returns the value of attribute matched_rule_index
32 33 34 |
# File 'lib/liteguard/types.rb', line 32 def matched_rule_index @matched_rule_index end |
#name ⇒ Object (readonly)
Returns the value of attribute name
32 33 34 |
# File 'lib/liteguard/types.rb', line 32 def name @name end |
#properties ⇒ Object (readonly)
Returns the value of attribute properties
32 33 34 |
# File 'lib/liteguard/types.rb', line 32 def properties @properties end |
#reason ⇒ Object (readonly)
Returns the value of attribute reason
32 33 34 |
# File 'lib/liteguard/types.rb', line 32 def reason @reason end |