debian-mirror-gitlab/app/presenters/ci/runner_presenter.rb
2021-10-27 15:23:28 +05:30

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