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
|