gitlab-org--gitlab-foss/lib/gitlab/ci/config/entry/coverage.rb

22 lines
381 B
Ruby

module Gitlab
module Ci
class Config
module Entry
##
# Entry that represents Coverage settings.
#
class Coverage < Node
include Validatable
validations do
validates :config, regexp: true
end
def value
@config[1...-1]
end
end
end
end
end
end