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