Module: ConceptAIGiftExporter
- Defined in:
- lib/asker/exporter/concept_ai_gift_exporter.rb
Overview
Export ConceptIA data to gift to outputfile
Class Method Summary collapse
-
.export_all(concepts_ai, project) ⇒ Object
Export an array of ConceptAI objects from Project into GIFT outpufile.
- .head(name) ⇒ Object
Class Method Details
.export_all(concepts_ai, project) ⇒ Object
Export an array of ConceptAI objects from Project into GIFT outpufile
12 13 14 |
# File 'lib/asker/exporter/concept_ai_gift_exporter.rb', line 12 def self.export_all(concepts_ai, project) concepts_ai.each { |concept_ai| export(concept_ai, project) } end |
.head(name) ⇒ Object
28 29 30 31 32 33 34 |
# File 'lib/asker/exporter/concept_ai_gift_exporter.rb', line 28 def self.head(name) s = "\n" s += '// ' + '=' * 50 + "\n" s += "// Concept name: #{name}\n" s += '// ' + '=' * 50 + "\n" s end |