debian-mirror-gitlab/lib/gitlab/ci/config/entry/commands.rb
2018-11-18 11:00:15 +05:30

22 lines
395 B
Ruby

module Gitlab
module Ci
class Config
module Entry
##
# Entry that represents a job script.
#
class Commands < Node
include Validatable
validations do
validates :config, array_of_strings_or_string: true
end
def value
Array(@config)
end
end
end
end
end
end