debian-mirror-gitlab/lib/gitlab/cycle_analytics/event_fetcher.rb
2019-02-15 15:39:39 +05:30

11 lines
227 B
Ruby

# frozen_string_literal: true
module Gitlab
module CycleAnalytics
module EventFetcher
def self.[](stage_name)
CycleAnalytics.const_get("#{stage_name.to_s.camelize}EventFetcher")
end
end
end
end