Class: Sapphire::DSL::ControlEvaluation
- Inherits:
-
Evaluation
- Object
- Evaluation
- Sapphire::DSL::ControlEvaluation
- Defined in:
- lib/sapphire/DSL/Evaluations/ControlEvaluation.rb
Instance Attribute Summary collapse
-
#control ⇒ Object
readonly
Returns the value of attribute control.
Attributes inherited from Evaluation
Instance Method Summary collapse
-
#initialize(actual, expected, control) ⇒ ControlEvaluation
constructor
A new instance of ControlEvaluation.
Methods inherited from Evaluation
#Compare, #CompareWith, #Evaluate, #Failed, #Output, #Passed, #execute
Constructor Details
#initialize(actual, expected, control) ⇒ ControlEvaluation
Returns a new instance of ControlEvaluation.
7 8 9 10 |
# File 'lib/sapphire/DSL/Evaluations/ControlEvaluation.rb', line 7 def initialize(actual, expected, control) @control = control super actual, expected end |
Instance Attribute Details
#control ⇒ Object (readonly)
Returns the value of attribute control.
5 6 7 |
# File 'lib/sapphire/DSL/Evaluations/ControlEvaluation.rb', line 5 def control @control end |