Class: CabezaDeTermo::JsonSpec::BlockExpectationDefinition

Inherits:
ExpectationDefinition show all
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_instantiatorObject



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