Module: ErgomentumRspec::Matchers::Yield

Defined in:
lib/ergomentum_rspec/matchers/yield.rb,
lib/ergomentum_rspec/matchers/yield/yield_all.rb

Defined Under Namespace

Classes: NoBlockGivenError, YieldAll

Instance Method Summary collapse

Instance Method Details

#yield_all(expected) ⇒ Object



6
7
8
# File 'lib/ergomentum_rspec/matchers/yield/yield_all.rb', line 6

def yield_all(expected)
  YieldAll.new(expected)
end