Welcome to mirror list, hosted at ThFree Co, Russian Federation.

in_product_guidance_environments_webide_experiment.rb « experiments « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 78602874cb70ba1f8522c7e9b1f752901c9e09c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

class InProductGuidanceEnvironmentsWebideExperiment < ApplicationExperiment
  control { false }

  exclude :has_environments?

  private

  def has_environments?
    !context.project.environments.empty?
  end
end