Method: ConceptQL::Knitter::ConceptQLChunk#create_output

Defined in:
lib/conceptql/knitter.rb

#create_outputObject



91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
# File 'lib/conceptql/knitter.rb', line 91

def create_output
  output = []
  output << title unless title.empty?
  output << '' unless title.empty?
  output << "```JSON"
  output << ''
  output << statement.to_json
  output << ''
  output << "```"
  output << ''
  output << diagram_markup
  output << ''
  output << table
  output << ''
  output.compact.join("\n")
end