Class: CabezaDeTermo::JsonSpec::BlockExpectationInstantiator
- Inherits:
-
AbstractInstantiator
- Object
- AbstractInstantiator
- CabezaDeTermo::JsonSpec::BlockExpectationInstantiator
- Defined in:
- lib/cabeza-de-termo/json-spec/instantiators/block-expectation-instantiator.rb
Instance Method Summary collapse
-
#initialize(block) ⇒ BlockExpectationInstantiator
constructor
A new instance of BlockExpectationInstantiator.
- #new(*args) ⇒ Object
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 |