class Cucumber::Ast::StepCollection

def exception

def exception
  @exception ||= ((failed = @steps.detect {|step| step.exception}) && failed.exception)
end