Class: Gitlab::Ci::Status::Build::Retried

Inherits:
Extended
  • Object
show all
Defined in:
lib/gitlab/ci/status/build/retried.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Extended

#initialize

Constructor Details

This class inherits a constructor from Gitlab::Ci::Status::Extended

Class Method Details

.matches?(build, user) ⇒ Boolean

Returns:

  • (Boolean)

12
13
14
# File 'lib/gitlab/ci/status/build/retried.rb', line 12

def self.matches?(build, user)
  build.retried?
end

Instance Method Details

#status_tooltipObject


8
9
10
# File 'lib/gitlab/ci/status/build/retried.rb', line 8

def status_tooltip
  @status.status_tooltip + " (retried)"
end