Class: Mocktail::NoExplanation
- Inherits:
-
Explanation
- Object
- Explanation
- Mocktail::NoExplanation
- 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) ⇒ NoExplanation
constructor
A new instance of NoExplanation.
Methods inherited from Explanation
Constructor Details
#initialize(reference, message) ⇒ NoExplanation
Returns a new instance of NoExplanation.
22 23 24 25 |
# File 'lib/mocktail/value/explanation.rb', line 22 def initialize(reference, ) @reference = reference @message = end |
Instance Attribute Details
#reference ⇒ Object (readonly)
Returns the value of attribute reference.
20 21 22 |
# File 'lib/mocktail/value/explanation.rb', line 20 def reference @reference end |