16 lines
304 B
Ruby
16 lines
304 B
Ruby
|
# 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
|