class Cucumber::Formatter::LegacyApi::Ast::StepInvocations
Public Instance Methods
exception()
click to toggle source
# File lib/cucumber/formatter/legacy_api/ast.rb, line 198 def exception failed_step.exception if failed_step end
failed?()
click to toggle source
# File lib/cucumber/formatter/legacy_api/ast.rb, line 185 def failed? any?(&:failed?) end
passed?()
click to toggle source
# File lib/cucumber/formatter/legacy_api/ast.rb, line 189 def passed? all?(&:passed?) end
status()
click to toggle source
# File lib/cucumber/formatter/legacy_api/ast.rb, line 193 def status return :passed if passed? failed_step.status end
Private Instance Methods
failed_step()
click to toggle source
# File lib/cucumber/formatter/legacy_api/ast.rb, line 204 def failed_step detect(&:failed?) end