BigW Consortium Gitlab

boolean.rb 316 Bytes
Newer Older
1 2 3
module Gitlab
  module Ci
    class Config
4
      module Entry
5 6 7
        ##
        # Entry that represents a boolean value.
        #
8
        class Boolean < Node
9 10 11 12 13 14 15 16 17 18
          include Validatable

          validations do
            validates :config, boolean: true
          end
        end
      end
    end
  end
end