Module: Ci::HasVariable
- Extended by:
- ActiveSupport::Concern
- Included in:
- GroupVariable, NewHasVariable, PipelineScheduleVariable, PipelineVariable, Variable
- Defined in:
- app/models/concerns/ci/has_variable.rb
Instance Method Summary collapse
Instance Method Details
#to_hash_variable ⇒ Object
49 50 51 52 53 54 55 |
# File 'app/models/concerns/ci/has_variable.rb', line 49 def to_hash_variable var_cache_key = to_hash_variable_cache_key return uncached_hash_variable unless var_cache_key ::Gitlab::SafeRequestStore.fetch(var_cache_key) { uncached_hash_variable } end |