Class: Liteguard::Rule
- Inherits:
-
Data
- Object
- Data
- Liteguard::Rule
- Defined in:
- lib/liteguard/types.rb
Overview
A single rule condition within a Guard.
Instance Attribute Summary collapse
-
#enabled ⇒ Object
readonly
Returns the value of attribute enabled.
-
#operator ⇒ Object
readonly
Returns the value of attribute operator.
-
#property_name ⇒ Object
readonly
Returns the value of attribute property_name.
-
#result ⇒ Object
readonly
Returns the value of attribute result.
-
#values ⇒ Object
readonly
Returns the value of attribute values.
Instance Attribute Details
#enabled ⇒ Object (readonly)
Returns the value of attribute enabled
10 11 12 |
# File 'lib/liteguard/types.rb', line 10 def enabled @enabled end |
#operator ⇒ Object (readonly)
Returns the value of attribute operator
10 11 12 |
# File 'lib/liteguard/types.rb', line 10 def operator @operator end |
#property_name ⇒ Object (readonly)
Returns the value of attribute property_name
10 11 12 |
# File 'lib/liteguard/types.rb', line 10 def property_name @property_name end |
#result ⇒ Object (readonly)
Returns the value of attribute result
10 11 12 |
# File 'lib/liteguard/types.rb', line 10 def result @result end |
#values ⇒ Object (readonly)
Returns the value of attribute values
10 11 12 |
# File 'lib/liteguard/types.rb', line 10 def values @values end |