Module: ConceptDocExporter

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

Overview

Export Concept to Doc file

Class Method Summary collapse

Class Method Details

.export_all(concepts, file) ⇒ Object

Export arrya of concepts to doc



10
11
12
13
14
# File 'lib/asker/exporter/concept_doc_exporter.rb', line 10

def self.export_all(concepts, file)
  concepts.each do |concept|
    file.write(ConceptDocFormatter.to_s(concept)) if concept.process
  end
end