BigW Consortium Gitlab

coverage.rb 381 Bytes
Newer Older
1 2 3
module Gitlab
  module Ci
    class Config
4
      module Entry
5
        ##
6
        # Entry that represents Coverage settings.
7
        #
8
        class Coverage < Node
9 10 11
          include Validatable

          validations do
12
            validates :config, regexp: true
13
          end
14 15 16 17

          def value
            @config[1...-1]
          end
18 19 20 21 22
        end
      end
    end
  end
end