Module: OutputFileExporter

Defined in:
lib/asker/exporter/output_file_exporter.rb

Overview

Export Output data:

  • Gift (ConceptAI, Code)

  • YAML

  • Doc (txt)

Class Method Summary collapse

Class Method Details

.export(data, project) ⇒ Object



11
12
13
14
15
16
17
# File 'lib/asker/exporter/output_file_exporter.rb', line 11

def self.export(data, project)
  ConceptAIGiftExporter.export_all(data[:concepts_ai], project)
  # UNDER DEVELOPMENT
  CodeGiftExporter.export_all(data[:codes_ai], project.get(:outputfile))
  ConceptAIYAMLExporter.export_all(data[:concepts_ai], project)
  ConceptDocExporter.export_all(data[:concepts], project.get(:lessonfile))
end