debian-mirror-gitlab/lib/gitlab/ci/config/entry/coverage.rb
2017-08-17 22:00:37 +05:30

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