gitlab-org--gitlab-foss/lib/banzai/pipeline.rb

10 lines
160 B
Ruby

require 'banzai'
module Banzai
module Pipeline
def self.[](name)
name ||= :full
const_get("#{name.to_s.camelize}Pipeline")
end
end
end