64b1044e7a
This decouples Ci::Config to provide a common interface for handling user configuration files.
18 lines
304 B
Ruby
18 lines
304 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Gitlab
|
|
module Config
|
|
module Entry
|
|
##
|
|
# Entry that represents a boolean value.
|
|
#
|
|
class Boolean < Node
|
|
include Validatable
|
|
|
|
validations do
|
|
validates :config, boolean: true
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|