debian-mirror-gitlab/lib/gitlab/ci/project_config/parameter.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
360 B
Ruby
Raw Permalink Normal View History

2022-10-11 01:57:18 +05:30
# 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