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: d77063a98345cac54ce9bb1079ba2f19f8a0a37f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

class InProductGuidanceEnvironmentsWebideExperiment < ApplicationExperiment # rubocop:disable Gitlab/NamespacedClass
  exclude :has_environments?

  def control_behavior
    false
  end

  private

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