Class: Phronomy::Testing::Eval::EvalCase
- Inherits:
-
Data
- Object
- Data
- Phronomy::Testing::Eval::EvalCase
- Defined in:
- lib/phronomy/testing/eval/eval_case.rb
Instance Attribute Summary collapse
-
#expected ⇒ Object
readonly
Returns the value of attribute expected.
-
#input ⇒ Object
readonly
Returns the value of attribute input.
-
#metadata ⇒ Object
readonly
Returns the value of attribute metadata.
Instance Method Summary collapse
-
#initialize(input:, expected:, metadata: {}) ⇒ EvalCase
constructor
A new instance of EvalCase.
Constructor Details
#initialize(input:, expected:, metadata: {}) ⇒ EvalCase
Returns a new instance of EvalCase.
7 8 9 |
# File 'lib/phronomy/testing/eval/eval_case.rb', line 7 def initialize(input:, expected:, metadata: {}) super end |
Instance Attribute Details
#expected ⇒ Object (readonly)
Returns the value of attribute expected
6 7 8 |
# File 'lib/phronomy/testing/eval/eval_case.rb', line 6 def expected @expected end |
#input ⇒ Object (readonly)
Returns the value of attribute input
6 7 8 |
# File 'lib/phronomy/testing/eval/eval_case.rb', line 6 def input @input end |
#metadata ⇒ Object (readonly)
Returns the value of attribute metadata
6 7 8 |
# File 'lib/phronomy/testing/eval/eval_case.rb', line 6 def @metadata end |