method
eval_block
1.3.1 -
Show latest stable
-
0 notes -
Class: Spec::Matchers::RaiseException
- 1.1.4
- 1.1.12
- 1.2.0
- 1.2.8
- 1.3.0 (0)
- 1.3.1 (0)
- What's this?
eval_block()
public
Hide source
# File lib/spec/matchers/raise_exception.rb, line 38 def eval_block @eval_block = true begin @block[@actual_exception] @eval_block_passed = true rescue Exception => err @actual_exception = err end end