Class: CabezaDeTermo::JsonSpec::BlockExpectationInstantiator

Inherits:
AbstractInstantiator show all
Defined in:
lib/cabeza-de-termo/json-spec/instantiators/block-expectation-instantiator.rb

Instance Method Summary collapse

Constructor Details

#initialize(block) ⇒ BlockExpectationInstantiator

Returns a new instance of BlockExpectationInstantiator.



7
8
9
# File 'lib/cabeza-de-termo/json-spec/instantiators/block-expectation-instantiator.rb', line 7

def initialize(block)
	@block = block
end

Instance Method Details

#new(*args) ⇒ Object



11
12
13
# File 'lib/cabeza-de-termo/json-spec/instantiators/block-expectation-instantiator.rb', line 11

def new(*args)
	BlockExpectation.new(@block, *args)
end