Class: Gitlab::Experiment::Rollout::First
- Defined in:
- lib/gitlab/experiment/rollout/first.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#execute ⇒ Object
This rollout strategy just picks the first variant name.
Methods inherited from Base
Constructor Details
This class inherits a constructor from Gitlab::Experiment::Rollout::Base
Instance Method Details
#execute ⇒ Object
This rollout strategy just picks the first variant name. It’s the default resolver as it assumes a single variant. You should consider using a more advanced rollout if you have multiple variants.
10 11 12 |
# File 'lib/gitlab/experiment/rollout/first.rb', line 10 def execute variant_names.first end |