Class: CabezaDeTermo::JsonSpec::BlockExpectationDefinition
- Inherits:
-
ExpectationDefinition
- Object
- ExpectationDefinition
- CabezaDeTermo::JsonSpec::BlockExpectationDefinition
- Defined in:
- lib/cabeza-de-termo/json-spec/expectations-library/definition-builders/expectation-builders/block-expectation-definition.rb
Instance Method Summary collapse
Methods inherited from ExpectationDefinition
#initialize, #modifier_instantiator
Constructor Details
This class inherits a constructor from CabezaDeTermo::JsonSpec::ExpectationDefinition
Instance Method Details
#block(block) ⇒ Object
7 8 9 |
# File 'lib/cabeza-de-termo/json-spec/expectations-library/definition-builders/expectation-builders/block-expectation-definition.rb', line 7 def block(block) @block = block end |
#expectation_instantiator ⇒ Object
11 12 13 |
# File 'lib/cabeza-de-termo/json-spec/expectations-library/definition-builders/expectation-builders/block-expectation-definition.rb', line 11 def expectation_instantiator() BlockExpectationInstantiator.new(@block) end |