debian-mirror-gitlab/lib/gitlab/ci/config/entry/coverage.rb
2019-01-03 12:48:30 +05:30

24 lines
412 B
Ruby

# frozen_string_literal: true
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