Class: Gitlab::Ci::Variables::Downstream::ExpandableVariableGenerator

Inherits:
Base
  • Object
show all
Defined in:
lib/gitlab/ci/variables/downstream/expandable_variable_generator.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Gitlab::Ci::Variables::Downstream::Base

Instance Method Details

#for(item) ⇒ Object



8
9
10
11
12
13
# File 'lib/gitlab/ci/variables/downstream/expandable_variable_generator.rb', line 8

def for(item)
  expanded_var = expanded_var_for(item)
  file_vars = file_var_dependencies_for(item)

  [expanded_var].concat(file_vars)
end