# File lib/ruport/formatter/text.rb, line 77 def build_table_header return unless should_render_column_names? c = data.column_names.enum_for(:each_with_index).map { |f,i| f.to_s.center(max_col_width[i]) } output << fit_to_width("#{hr}| #{c.join(' | ')} |\n") end