Class: CabezaDeTermo::JsonSpec::ExpectationDefinition
- Inherits:
-
Object
- Object
- CabezaDeTermo::JsonSpec::ExpectationDefinition
- Defined in:
- lib/cabeza-de-termo/json-spec/expectations-library/definition-builders/expectation-builders/expectation-definition.rb
Direct Known Subclasses
BlockExpectationDefinition, ClassExpectationDefinition, ExpectingAllOfExpectationDefinition, ExpectingAnyOfExpectationDefinition, ExpectingExpectationDefinition, NegatingExpectationDefinition
Instance Method Summary collapse
-
#initialize(expectations_library) ⇒ ExpectationDefinition
constructor
A new instance of ExpectationDefinition.
- #modifier_instantiator ⇒ Object
Constructor Details
#initialize(expectations_library) ⇒ ExpectationDefinition
Returns a new instance of ExpectationDefinition.
4 5 6 |
# File 'lib/cabeza-de-termo/json-spec/expectations-library/definition-builders/expectation-builders/expectation-definition.rb', line 4 def initialize(expectations_library) @expectations_library = expectations_library end |
Instance Method Details
#modifier_instantiator ⇒ Object
8 9 10 |
# File 'lib/cabeza-de-termo/json-spec/expectations-library/definition-builders/expectation-builders/expectation-definition.rb', line 8 def modifier_instantiator CdT.subclass_responsibility end |