Module: Export

Defined in:
lib/export/coldp.rb,
lib/export.rb,
lib/export/bibtex.rb,
lib/export/file_grouper.rb,
lib/export/zip_streamer.rb,
lib/export/paper_catalog.rb,
lib/export/packagers/images.rb,
lib/export/basic_nomenclature.rb,
lib/export/packagers/documents.rb,
lib/export/helpers/material_examined.rb

Overview

TaxonWorks wrapper that bridges native DwcOccurrence data to Utilities::MaterialExamined for rendering.

Usage:

renderer = Export::Helpers::MaterialExamined.renderer_for_otu(otu, order: [...], todo: false)
text     = renderer.render
ids      = renderer.todo_occurrence_ids  # non-empty only when todo: true

Defined Under Namespace

Modules: BasicNomenclature, Bibtex, CSV, Coldp, Dwca, Helpers, Packagers, PaperCatalog, ProjectData Classes: FileGrouper, Graph, ZipStreamer

Class Method Summary collapse

Class Method Details

.get_connectionObject



4
5
6
# File 'lib/export.rb', line 4

def self.get_connection
  ActiveRecord::Base.connection.raw_connection
end