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

9 lines
142 B
Ruby
Raw Normal View History

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