debian-mirror-gitlab/lib/gitlab/ci/pipeline/chain/config/content/parameter.rb
2020-10-24 23:57:45 +05:30

29 lines
590 B
Ruby

# frozen_string_literal: true
module Gitlab
module Ci
module Pipeline
module Chain
module Config
class Content
class Parameter < Source
UnsupportedSourceError = Class.new(StandardError)
def content
strong_memoize(:content) do
next unless command.content.present?
command.content
end
end
def source
:parameter_source
end
end
end
end
end
end
end
end