filter.rb 190 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10
require 'active_support/core_ext/string/output_safety'
require 'banzai'

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