Welcome to mirror list, hosted at ThFree Co, Russian Federation.

filter.rb « banzai « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 905c4c0144e2d3670b72cbd7e417531fbe7f8442 (plain)
1
2
3
4
5
6
7
8
9
require 'active_support/core_ext/string/output_safety'

module Banzai
  module Filter
    def self.[](name)
      const_get("#{name.to_s.camelize}Filter")
    end
  end
end