debian-mirror-gitlab/lib/banzai/pipeline.rb
2016-01-19 16:12:03 +05:30

8 lines
142 B
Ruby

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