1 2 3 4 5 6 7 8 9
module Gitlab module CycleAnalytics module Stage def self.[](stage_name) const_get("::Gitlab::CycleAnalytics::#{stage_name.to_s.camelize}Stage") end end end end