Exception: JsonRspecMatchMaker::MatchDefinitionNotFound Private
- Inherits:
-
StandardError
- Object
- StandardError
- JsonRspecMatchMaker::MatchDefinitionNotFound
- Defined in:
- lib/json_rspec_match_maker/base.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Error raised when the child class has failed to set @match_definition
Instance Method Summary collapse
-
#initialize(class_name) ⇒ MatchDefinitionNotFound
constructor
private
Create an error message for a child class.
Constructor Details
#initialize(class_name) ⇒ MatchDefinitionNotFound
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Create an error message for a child class
7 8 9 |
# File 'lib/json_rspec_match_maker/base.rb', line 7 def initialize(class_name) super("Expected instance variable @match_defintion to be set for #{class_name}") end |