Sha256: bd30a241321dd356878678fdf35f82cb8f8b77b68708c5261284b40721768e7a
Contents?: true
Size: 537 Bytes
Versions: 18
Compression:
Stored size: 537 Bytes
Contents
# frozen_string_literal: true module Decidim module Exporters autoload :Exporter, "decidim/exporters/exporter" autoload :JSON, "decidim/exporters/json" autoload :CSV, "decidim/exporters/csv" autoload :ExportData, "decidim/exporters/export_data" autoload :Serializer, "decidim/exporters/serializer" # Get the exporter class constant from the format as a string. # # format - The exporter format as a string. i.e "csv" def self.find_exporter(format) const_get(format.upcase) end end end
Version data entries
18 entries across 18 versions & 2 rubygems