Module: ConceptStringFormatter
- Defined in:
- lib/asker/formatter/concept_string_formatter.rb
Class Method Summary collapse
-
.to_s(concept) ⇒ Object
Formatter Concept to String.
Class Method Details
.to_s(concept) ⇒ Object
Formatter Concept to String
11 12 13 14 15 |
# File 'lib/asker/formatter/concept_string_formatter.rb', line 11 def self.to_s(concept) tt = Terminal::Table.new get_tt_rows(concept).each { |row| tt.add_row row } tt.to_s end |