Class: Gitlab::Ci::ProjectConfig::Parameter

Inherits:
Source
  • Object
show all
Defined in:
lib/gitlab/ci/project_config/parameter.rb

Instance Method Summary collapse

Methods inherited from Source

#exists?, #initialize, #internal_include_prepended?, #url

Constructor Details

This class inherits a constructor from Gitlab::Ci::ProjectConfig::Source

Instance Method Details

#contentObject



7
8
9
10
11
12
13
# File 'lib/gitlab/ci/project_config/parameter.rb', line 7

def content
  strong_memoize(:content) do
    next unless custom_content.present?

    custom_content
  end
end

#sourceObject



15
16
17
# File 'lib/gitlab/ci/project_config/parameter.rb', line 15

def source
  :parameter_source
end