Class: Mocktail::FakeMethodExplanation
- Inherits:
-
Explanation
- Object
- Explanation
- Mocktail::FakeMethodExplanation
- 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) ⇒ FakeMethodExplanation
constructor
A new instance of FakeMethodExplanation.
Methods inherited from Explanation
Constructor Details
#initialize(reference, message) ⇒ FakeMethodExplanation
Returns a new instance of FakeMethodExplanation.
49 50 51 52 |
# File 'lib/mocktail/value/explanation.rb', line 49 def initialize(reference, ) @reference = reference @message = end |
Instance Attribute Details
#reference ⇒ Object (readonly)
Returns the value of attribute reference.
47 48 49 |
# File 'lib/mocktail/value/explanation.rb', line 47 def reference @reference end |