module XSpec::Evaluator::Bottom
The bottom evaluator executes the unit of work, with no error handling or extra behaviour. By separating this, all other evaluators layered on top of this one can just call `super`, making them easy to compose.
Public Instance Methods
call(unit_of_work)
click to toggle source
# File lib/xspec/evaluators.rb, line 24 def call(unit_of_work) instance_exec(&unit_of_work.block) [] end