Class: Gitlab::Ci::Config::External::Mapper::Base
- Inherits:
-
Object
- Object
- Gitlab::Ci::Config::External::Mapper::Base
- Defined in:
- lib/gitlab/ci/config/external/mapper/base.rb
Overview
Base class for mapper classes
Direct Known Subclasses
Filter, LocationExpander, Matcher, Normalizer, VariablesExpander, Verifier
Instance Method Summary collapse
-
#initialize(context) ⇒ Base
constructor
A new instance of Base.
- #process ⇒ Object
Constructor Details
#initialize(context) ⇒ Base
Returns a new instance of Base.
10 11 12 |
# File 'lib/gitlab/ci/config/external/mapper/base.rb', line 10 def initialize(context) @context = context end |
Instance Method Details
#process ⇒ Object
14 15 16 17 18 |
# File 'lib/gitlab/ci/config/external/mapper/base.rb', line 14 def process(...) context.logger.instrument(mapper_instrumentation_key) do process_without_instrumentation(...) end end |