12 lines
240 B
Ruby
12 lines
240 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Ci
|
|
class RunnerPresenter < Gitlab::View::Presenter::Delegated
|
|
presents :runner
|
|
|
|
def locked?
|
|
read_attribute(:locked) && project_type?
|
|
end
|
|
alias_method :locked, :locked?
|
|
end
|
|
end
|