Class: Mocktail::UnsatisfyingCallExplanation
- Inherits:
-
Object
- Object
- Mocktail::UnsatisfyingCallExplanation
- Extended by:
- T::Sig
- Defined in:
- lib/mocktail/value/unsatisfying_call_explanation.rb,
lib/mocktail/sorbet/mocktail/value/unsatisfying_call_explanation.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#reference ⇒ Object
readonly
Returns the value of attribute reference.
Instance Method Summary collapse
-
#initialize(reference, message) ⇒ UnsatisfyingCallExplanation
constructor
A new instance of UnsatisfyingCallExplanation.
- #type ⇒ Object
Constructor Details
#initialize(reference, message) ⇒ UnsatisfyingCallExplanation
Returns a new instance of UnsatisfyingCallExplanation.
9 10 11 12 |
# File 'lib/mocktail/value/unsatisfying_call_explanation.rb', line 9 def initialize(reference, ) @reference = reference @message = end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
7 8 9 |
# File 'lib/mocktail/value/unsatisfying_call_explanation.rb', line 7 def @message end |
#reference ⇒ Object (readonly)
Returns the value of attribute reference.
5 6 7 |
# File 'lib/mocktail/value/unsatisfying_call_explanation.rb', line 5 def reference @reference end |
Instance Method Details
#type ⇒ Object
14 15 16 |
# File 'lib/mocktail/value/unsatisfying_call_explanation.rb', line 14 def type self.class end |