Sha256: 2757869f3e08589779cdffb3e150daf5051b7d9995d6fcaa1c09a9f36dd435e7
Contents?: true
Size: 390 Bytes
Versions: 53
Compression:
Stored size: 390 Bytes
Contents
# frozen_string_literal: true module Krane class RunnerTaskConfigValidator < TaskConfigValidator def initialize(template, *arguments) super(*arguments) @template = template @validations += %i(validate_template) end private def validate_template if @template.blank? @errors << "Task template name can't be nil" end end end end
Version data entries
53 entries across 53 versions & 2 rubygems