2016-08-24 12:49:21 +05:30
|
|
|
module Gitlab
|
|
|
|
module Ci
|
|
|
|
class Config
|
2017-08-17 22:00:37 +05:30
|
|
|
module Entry
|
2016-08-24 12:49:21 +05:30
|
|
|
##
|
|
|
|
# Entry that represents a boolean value.
|
|
|
|
#
|
2017-08-17 22:00:37 +05:30
|
|
|
class Boolean < Node
|
2016-08-24 12:49:21 +05:30
|
|
|
include Validatable
|
|
|
|
|
|
|
|
validations do
|
|
|
|
validates :config, boolean: true
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|