lib/berkeley_library/tind/export/export.rb
# Returns an exporter for the specified spreadsheet in the specified format
# @param collection [String] The collection name
# @param format [ExportFormat, String, Symbol] the export format
# @param exportable_only [Boolean] whether to include only exportable fields
# @return [Exporter] the exporter
Returns an exporter for the specified spreadsheet in the specified format
Returns an exporter for the specified spreadsheet in the specified format
def exporter_for(collection, format, exportable_only: true)
          export_format = ExportFormat.ensure_format(format)
          export_format.exporter_for(collection, exportable_only: exportable_only)
        end
def exporter_for ( collection , format , exportable_only : true ) export_format = ExportFormat . ensure_format ( format ) export_format . exporter_for ( collection , exportable_only : exportable_only ) end
Returns an exporter for the specified spreadsheet in the specified format
Returns an exporter for the specified spreadsheet in the specified format
# noinspection RubyNilAnalysis
None
Exporter
collection
The collection name
The collection name
format
the export format
the export format
exportable_only
whether to include only exportable fields
whether to include only exportable fields