method

heading

rails latest stable - Class: ActiveSupport::ContinuousIntegration

Method not available on this version

This method is only available on newer versions. The first available version (v8.1.1) is shown here.

heading(heading, subtitle = nil, type: :banner, padding: true)
public

Display a colorized heading followed by an optional subtitle.

Examples:

heading "Smoke Testing", "End-to-end tests verifying key functionality", padding: false
heading "Skipping video encoding tests", "Install FFmpeg to run these tests", type: :error

See ActiveSupport::ContinuousIntegration::COLORS for a complete list of options.