Class: Mocktail::DoubleExplanation
- Inherits:
-
Explanation
- Object
- Explanation
- Mocktail::DoubleExplanation
- 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) ⇒ DoubleExplanation
constructor
A new instance of DoubleExplanation.
Methods inherited from Explanation
Constructor Details
#initialize(reference, message) ⇒ DoubleExplanation
Returns a new instance of DoubleExplanation.
31 32 33 34 |
# File 'lib/mocktail/value/explanation.rb', line 31 def initialize(reference, ) @reference = reference @message = end |
Instance Attribute Details
#reference ⇒ Object (readonly)
Returns the value of attribute reference.
29 30 31 |
# File 'lib/mocktail/value/explanation.rb', line 29 def reference @reference end |