Module: XSpec::Evaluator::Top
- Defined in:
- lib/xspec/evaluators.rb
Overview
The top should usually be included as the final module in a stack. It is a catch all to make sure all standard exceptions have been handled and do not leak outside the stack.
Instance Method Summary collapse
Instance Method Details
#call(unit_of_work) ⇒ Object
34 35 36 37 38 |
# File 'lib/xspec/evaluators.rb', line 34 def call(unit_of_work) super rescue => e [CodeException.new(unit_of_work, e., e.backtrace)] end |