Module: BibliographicalImporter::AbstractWriter

Defined in:
lib/bibliographical_importer.rb

Overview

The Writer shouldn’t be instantiated directly, but using AbstractWriter.generate or a derivate class Thats allows flexibility on the export

Class Method Summary collapse

Class Method Details

.generate(canonical_documents) ⇒ Object

Generate the file format, based on an Array of CanonicalDocument

Parameters:

Returns:



64
65
66
# File 'lib/bibliographical_importer.rb', line 64

def self.generate(canonical_documents)
   raise "should generate a file"
end