instance method failure

Ruby on Rails 8.1.2

Since v8.1.2

Signature

failure(title, subtitle = nil)

Display an error heading with the title and optional subtitle to reflect that the run failed.

Parameters

title req
subtitle opt = nil
Source
# File activesupport/lib/active_support/continuous_integration.rb, line 86
    def failure(title, subtitle = nil)
      heading title, subtitle, type: :error
    end

Defined in activesupport/lib/active_support/continuous_integration.rb line 86 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveSupport::ContinuousIntegration

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close