method
eval_each_fail_slow
1.3.1 -
Show latest stable
- Class:
Spec::Example::ExampleMethods
eval_each_fail_slow(blocks)public
No documentation available.
# File lib/spec/example/example_methods.rb, line 77
def eval_each_fail_slow(blocks) # :nodoc:
first_exception = nil
blocks.each do |block|
begin
instance_eval(&block)
rescue Exception => e
first_exception ||= e
end
end
raise first_exception if first_exception
end