gitlab-org--gitlab-foss/lib/banzai/pipeline.rb
2016-01-14 11:30:28 +01:00

8 lines
142 B
Ruby

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