Sha256: cd5dd7bf761e9b7f37d2932d673e368d3579f5c8ed513d3c5eeeb1ae04a9ff6f
Contents?: true
Size: 984 Bytes
Versions: 14
Compression:
Stored size: 984 Bytes
Contents
require_relative 'concept_ai_moodle_exporter' require_relative 'concept_ai_yaml_exporter' require_relative 'concept_doc_exporter' require_relative 'data_gift_exporter' # Export Output data: # * Gift (ConceptAI, Code) # * YAML # * Doc (txt) module OutputFileExporter def self.export(data, project) config = Application.instance.config DataGiftExporter.export_all(data, project) if config['output']['gift'] == 'yes' ConceptAIYAMLExporter.export_all(data[:concepts_ai], project) if config['output']['yaml'] == 'yes' ConceptDocExporter.export_all(data[:concepts], project) if config['output']['doc'] == 'yes' # ConceptAIGiftExporter.export_all(data[:concepts_ai], project) if config['output']['gift'] == 'yes' # CodeGiftExporter.export_all(data[:codes_ai], project.get(:outputfile)) if config['output']['gift'] == 'yes' # UNDER DEVELOPMENT ConceptAIMoodleExporter.export_all(data[:concepts_ai], project) if config['output']['moodle'] == 'yes' end end
Version data entries
14 entries across 14 versions & 1 rubygems