Method: Tailor::Formatters::Text#summary_header

Defined in:
lib/tailor/formatters/text.rb

#summary_headerObject



126
127
128
129
130
131
132
133
134
135
136
137
138
# File 'lib/tailor/formatters/text.rb', line 126

def summary_header
  summary_table = line
  summary_table << '# '
  summary_table << bold { 'Tailor Summary'.rjust(40)  }
  summary_table << "|\n".rjust(39)
  summary_table << line
  summary_table << '#   ' << summary_first_col('File', 67) + '| '
  summary_table << 'Probs'.rjust(1)
  summary_table << " |\n".rjust(2)
  summary_table << line

  summary_table
end