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

11 lines
160 B
Ruby
Raw Normal View History

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