gitlab-org--gitlab-foss/lib/gitlab/ci/project_config/parameter.rb

22 lines
360 B
Ruby

# frozen_string_literal: true
module Gitlab
module Ci
class ProjectConfig
class Parameter < Source
def content
strong_memoize(:content) do
next unless custom_content.present?
custom_content
end
end
def source
:parameter_source
end
end
end
end
end