class Cucumber::Formatter::LegacyApi::Ast::StepInvocations
Public Instance Methods
exception()
click to toggle source
# File lib/cucumber/formatter/legacy_api/ast.rb, line 196 def exception failed_step.exception if failed_step end
failed?()
click to toggle source
# File lib/cucumber/formatter/legacy_api/ast.rb, line 183 def failed? any?(&:failed?) end
passed?()
click to toggle source
# File lib/cucumber/formatter/legacy_api/ast.rb, line 187 def passed? all?(&:passed?) end
status()
click to toggle source
# File lib/cucumber/formatter/legacy_api/ast.rb, line 191 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 202 def failed_step detect(&:failed?) end