method
invoke_method_block
1.3.0 -
Show latest stable
- Class:
Spec::Mocks::BaseExpectation
invoke_method_block(*args)protected
No documentation available.
# File lib/spec/mocks/message_expectation.rb, line 152
def invoke_method_block(*args)
begin
@method_block.call(*args)
rescue => detail
@error_generator.raise_block_failed_error @sym, detail.message
end
end