module Decidim::Exporters

Public Class Methods

find_exporter(format) click to toggle source

Get the exporter class constant from the format as a string.

format - The exporter format as a string. i.e “CSV”

# File lib/decidim/exporters.rb, line 21
def self.find_exporter(format)
  const_get(format)
end