Class: Mocktail::ReplacedTypeExplanation
- Inherits:
-
Explanation
- Object
- Explanation
- Mocktail::ReplacedTypeExplanation
- Defined in:
- lib/mocktail/value/explanation.rb,
lib/mocktail/sorbet/mocktail/value/explanation.rb
Instance Attribute Summary collapse
-
#reference ⇒ Object
readonly
Returns the value of attribute reference.
Attributes inherited from Explanation
Instance Method Summary collapse
-
#initialize(reference, message) ⇒ ReplacedTypeExplanation
constructor
A new instance of ReplacedTypeExplanation.
Methods inherited from Explanation
Constructor Details
#initialize(reference, message) ⇒ ReplacedTypeExplanation
Returns a new instance of ReplacedTypeExplanation.
40 41 42 43 |
# File 'lib/mocktail/value/explanation.rb', line 40 def initialize(reference, ) @reference = reference @message = end |
Instance Attribute Details
#reference ⇒ Object (readonly)
Returns the value of attribute reference.
38 39 40 |
# File 'lib/mocktail/value/explanation.rb', line 38 def reference @reference end |