Class: JCR::Evaluation
- Inherits:
-
Object
- Object
- JCR::Evaluation
- Defined in:
- lib/jcr/evaluate_rules.rb
Instance Attribute Summary collapse
-
#member_found ⇒ Object
Returns the value of attribute member_found.
-
#reason ⇒ Object
Returns the value of attribute reason.
-
#success ⇒ Object
Returns the value of attribute success.
Instance Method Summary collapse
-
#initialize(success, reason) ⇒ Evaluation
constructor
A new instance of Evaluation.
Constructor Details
#initialize(success, reason) ⇒ Evaluation
Returns a new instance of Evaluation.
50 51 52 53 |
# File 'lib/jcr/evaluate_rules.rb', line 50 def initialize success, reason @success = success @reason = reason end |
Instance Attribute Details
#member_found ⇒ Object
Returns the value of attribute member_found.
49 50 51 |
# File 'lib/jcr/evaluate_rules.rb', line 49 def member_found @member_found end |
#reason ⇒ Object
Returns the value of attribute reason.
49 50 51 |
# File 'lib/jcr/evaluate_rules.rb', line 49 def reason @reason end |
#success ⇒ Object
Returns the value of attribute success.
49 50 51 |
# File 'lib/jcr/evaluate_rules.rb', line 49 def success @success end |