class Cucumber::Ast::StepInvocation
def failed(options, e, clear_backtrace)
def failed(options, e, clear_backtrace) e = filter_backtrace(e) e.set_backtrace([]) if clear_backtrace e.backtrace << @step.backtrace_line unless @step.backtrace_line.nil? @exception = e if(options[:strict] || !(Undefined === e) || e.nested?) @reported_exception = e else @reported_exception = nil end end